File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ set(LIBCLANG_LOCATION "${LIBCLANG_LOCATION}" CACHE STRING "Location of the libcl
5555
5656find_package (Python)
5757add_library (cpp2py::python_and_numpy ALIAS python_and_numpy)
58- install (TARGETS python_and_numpy EXPORT cpp2py-targets )
58+ install (TARGETS python_and_numpy EXPORT Cpp2PyTargets )
5959
6060# find_package(Python3 COMPONENTS Development Interpreter)
6161# set(PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR})
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ target_include_directories(cpp2py
99 )
1010
1111# Install the library in lib and export the cpp2py target
12- install (TARGETS cpp2py EXPORT cpp2py-targets DESTINATION lib)
12+ install (TARGETS cpp2py EXPORT Cpp2PyTargets DESTINATION lib)
1313install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h" PATTERN "*.hxx" )
1414
1515# --- Python ---
@@ -19,4 +19,4 @@ target_link_libraries(cpp2py PUBLIC python_and_numpy)
1919# ---------------
2020
2121# Install the exported targets
22- install (EXPORT cpp2py-targets NAMESPACE cpp2py:: DESTINATION lib/cmake/cpp2py )
22+ install (EXPORT Cpp2PyTargets NAMESPACE cpp2py:: DESTINATION lib/cmake/Cpp2Py )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ add_executable(cp_rs IMPORTED GLOBAL)
4545set_property (TARGET cp_rs PROPERTY IMPORTED_LOCATION "@CMAKE_INSTALL_PREFIX@/bin/cp_rs" )
4646
4747# include the exported targets of this project
48- include (@CMAKE_INSTALL_PREFIX @/lib/cmake/cpp2py/cpp2py-targets .cmake)
48+ include (@CMAKE_INSTALL_PREFIX @/lib/cmake/Cpp2Py/Cpp2PyTargets .cmake)
4949
5050###################################################################################
5151#
You can’t perform that action at this time.
0 commit comments