Fixed path issue
authorGert-Jan Rozing <gert.rozing@myestro.de>
Mon, 26 Aug 2019 10:02:02 +0000 (12:02 +0200)
committerGert-Jan Rozing <gert.rozing@myestro.de>
Mon, 26 Aug 2019 10:02:02 +0000 (12:02 +0200)
CMakeLists.txt

index face0310f49358bab73faefffc2ffeac4550ab01..5ad5d37377d221c0dd95a76dd26c428968c1f14c 100644 (file)
@@ -134,7 +134,7 @@ if(Python_FOUND)
                ${CMAKE_CURRENT_BINARY_DIR}/setup.py
        )
 
-       install(CODE "execute_process(${Python_EXECUTABLE} setup.py install)")
+       install(CODE "execute_process(${Python_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/setup.py install)")
 endif()
 #
 #install(CODE "execute_process(COMMAND ldconfig)")