Skip to content
Snippets Groups Projects
Commit 48a89587 authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

[cmake] Fixed a warning regarding search paths.

Python should be copied to lib-folder at install time, not at
configure time. file(INSTALL ..) is an alias to file(COPY ...) and
therefore a bit misleading, use install(FILE ...) instead!
parent 5e52055e
No related branches found
No related tags found
No related merge requests found
......@@ -76,9 +76,7 @@ if(WIN32)
DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
)
else()
file(INSTALL ${Python_LIBRARIES} DESTINATION ${CMAKE_INSTALL_LIBDIR}
FOLLOW_SYMLINK_CHAIN
)
install(FILES ${Python_LIBRARIES} DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
configure_file(Documentation/README.txt.in ${PROJECT_BINARY_DIR}/README.txt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment