mirror of https://github.com/joan2937/pigpio
Try to make things work
This commit is contained in:
parent
b59425c9b8
commit
61cf704187
|
@ -129,9 +129,9 @@ 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)")
|
||||
message(STATUS "Installing python modules.")
|
||||
install(CODE "execute_process(COMMAND ${Python_EXECUTABLE} ${CMAKE_SOURCE_DIR}/setup.py install)")
|
||||
endif()
|
||||
#
|
||||
#install(CODE "execute_process(COMMAND ldconfig)")
|
||||
|
|
Loading…
Reference in New Issue