Commit 0d7cd60b authored by jcarpent's avatar jcarpent Committed by Justin Carpentier
Browse files

[CMake] Force install of *.py files instead a copy of symbolic links

parent d2450f16
......@@ -153,7 +153,7 @@ IF(BUILD_PYTHON_INTERFACE)
EXECUTE_PROCESS(COMMAND
${PYTHON_EXECUTABLE} -m py_compile
${${PROJECT_NAME}_BINARY_DIR}/lib/python/${PROJECT_NAME}/${pythonFile} )
${${PROJECT_NAME}_BINARY_DIR}/lib/python/${PROJECT_NAME}/${pythonFile})
# Clean generated files.
SET_PROPERTY(
......@@ -162,7 +162,7 @@ IF(BUILD_PYTHON_INTERFACE)
"${${PROJECT_NAME}_BINARY_DIR}/lib/python/${PROJECT_NAME}/${pythonFile}c")
INSTALL(FILES
"${${PROJECT_NAME}_BINARY_DIR}/lib/python/${PROJECT_NAME}/${pythonFile}"
"${${PROJECT_NAME}_SOURCE_DIR}/src/${python}"
"${${PROJECT_NAME}_BINARY_DIR}/lib/python/${PROJECT_NAME}/${pythonFile}c"
DESTINATION ${PYTHON_SITELIB}/${PROJECT_NAME})
ENDFOREACH(python)
......
Supports Markdown
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