From a03ba8fba6302769fcc1dda3570ac8af73f38113 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Tue, 1 Sep 2020 17:58:40 -0400 Subject: [PATCH] [cmake] Set CPP2PY_PYTHON_LIB_DEST_ROOT cache for parent projects --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4da4b64..b07a866 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)