Verified Commit 4696aa4b authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: add the export of the Python module

parent f05d6051
......@@ -150,7 +150,11 @@ IF(BUILD_PYTHON_INTERFACE)
SET_TARGET_PROPERTIES(${PYWRAP} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bindings/python/${PROJECT_NAME}")
INSTALL(TARGETS ${PYWRAP} DESTINATION ${${PYWRAP}_INSTALL_DIR})
INSTALL(
TARGETS ${PYWRAP}
EXPORT ${TARGETS_EXPORT_NAME}
DESTINATION ${${PYWRAP}_INSTALL_DIR}
)
# --- INSTALL SCRIPTS
SET(PYTHON_FILES
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment