Skip to content

Commit

Permalink
[cmake] Set CPP2PY_PYTHON_LIB_DEST_ROOT cache for parent projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Sep 1, 2020
1 parent 7a09823 commit a03ba8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ set(LIBCLANG_LOCATION "${LIBCLANG_LOCATION}" CACHE STRING "Location of the libcl

find_package(Python)
set(CPP2PY_PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE} CACHE FILEPATH "Python Executable")
set(CPP2PY_PYTHON_LIB_DEST_ROOT ${PYTHON_LIB_DEST_ROOT} CACHE FILEPATH "Python module directory")
add_library(cpp2py::python_and_numpy ALIAS python_and_numpy)
install(TARGETS python_and_numpy EXPORT Cpp2PyTargets)

Expand Down

0 comments on commit a03ba8f

Please sign in to comment.