File tree 3 files changed +4
-4
lines changed
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
55
55
56
56
find_package (Python)
57
57
add_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 )
59
59
60
60
# find_package(Python3 COMPONENTS Development Interpreter)
61
61
# 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
9
9
)
10
10
11
11
# 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)
13
13
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h" PATTERN "*.hxx" )
14
14
15
15
# --- Python ---
@@ -19,4 +19,4 @@ target_link_libraries(cpp2py PUBLIC python_and_numpy)
19
19
# ---------------
20
20
21
21
# 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)
45
45
set_property (TARGET cp_rs PROPERTY IMPORTED_LOCATION "@CMAKE_INSTALL_PREFIX@/bin/cp_rs" )
46
46
47
47
# 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)
49
49
50
50
###################################################################################
51
51
#
You can’t perform that action at this time.
0 commit comments