projects
/
pigpio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062e981
)
Reenabled python isntall
author
Gert-Jan Rozing
<gert.rozing@myestro.de>
Mon, 26 Aug 2019 09:43:07 +0000
(11:43 +0200)
committer
Gert-Jan Rozing
<gert.rozing@myestro.de>
Mon, 26 Aug 2019 09:43:07 +0000
(11:43 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index dca39fb761b6cc79c8793dcc9c339958bb1fc428..ea1bd5577b94c921f1836514e321430a14f5c3ff 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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)")