Skip to content

Commit a03ba8f

Browse files
committed
[cmake] Set CPP2PY_PYTHON_LIB_DEST_ROOT cache for parent projects
1 parent 7a09823 commit a03ba8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ set(LIBCLANG_LOCATION "${LIBCLANG_LOCATION}" CACHE STRING "Location of the libcl
5555

5656
find_package(Python)
5757
set(CPP2PY_PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE} CACHE FILEPATH "Python Executable")
58+
set(CPP2PY_PYTHON_LIB_DEST_ROOT ${PYTHON_LIB_DEST_ROOT} CACHE FILEPATH "Python module directory")
5859
add_library(cpp2py::python_and_numpy ALIAS python_and_numpy)
5960
install(TARGETS python_and_numpy EXPORT Cpp2PyTargets)
6061

0 commit comments

Comments
 (0)