summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Wrappers/Python/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Wrappers/Python/CMakeLists.txt b/Wrappers/Python/CMakeLists.txt
index 59d2436..68768bc 100644
--- a/Wrappers/Python/CMakeLists.txt
+++ b/Wrappers/Python/CMakeLists.txt
@@ -139,12 +139,12 @@ if (PYTHONINTERP_FOUND)
COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT}
DEPENDS cilreg)
endif()
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ccpi
+ DESTINATION ${PYTHON_DEST})
endif()
add_custom_target(PythonWrapper ALL DEPENDS ${OUTPUT})
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ccpi
- DESTINATION ${PYTHON_DEST})
#install(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install)")
endif()