Skip to content

Commit

Permalink
Updating CMake because of python package install problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacu committed May 9, 2017
1 parent 499d1f1 commit 04ddde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ IF (BUILD_PYTHON)
# commenting out untill we figure out how to correctly install on Windows
#SET(DISTUTILS_INSTALL_FLAGS --root="%DESTDIR%" ${DISTUTILS_INSTALL_FLAGS})
ELSE()
SET(DISTUTILS_INSTALL_FLAGS --root="$DESTDIR" ${DISTUTILS_INSTALL_FLAGS})
SET(DISTUTILS_INSTALL_FLAGS "--root=$DESTDIR" ${DISTUTILS_INSTALL_FLAGS})
ENDIF()
INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install ${DISTUTILS_INSTALL_FLAGS} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/python/)" )
ENDIF (BUILD_PYTHON)
Expand Down

0 comments on commit 04ddde3

Please sign in to comment.