Reenabled python isntall

This commit is contained in:
Gert-Jan Rozing 2019-08-26 11:43:07 +02:00
parent 062e981608
commit b59425c9b8
No known key found for this signature in database
GPG Key ID: 8FAC2AA4BFE8A306
1 changed files with 4 additions and 4 deletions

View File

@ -129,10 +129,10 @@ install(FILES ${man_3_SRC}
find_package(Python COMPONENTS Interpreter QUIET)
#file(GLOB setup_SRC "setup.py")
#if(Python_FOUND)
# install(CODE "execute_process(COMMAND cd ${CMAKE_SOURCE_DIR} && ${Python_EXECUTABLE} ${setup_SRC} install)")
#endif()
file(GLOB setup_SRC "setup.py")
if(Python_FOUND)
install(CODE "execute_process(COMMAND cd ${CMAKE_SOURCE_DIR} && ${Python_EXECUTABLE} ${setup_SRC} install)")
endif()
#
#install(CODE "execute_process(COMMAND ldconfig)")