Skip to content

Commit

Permalink
build - Fix install path of python module
Browse files Browse the repository at this point in the history
  • Loading branch information
phibos committed May 22, 2018
1 parent db2701d commit d6c76ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (PYTHONINTERP_FOUND)
)

#install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install --prefix=${CMAKE_INSTALL_PREFIX})")
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install --install-lib=${DIONAEA_PYTHON_SITELIBDIR})")
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install --install-lib=\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DIONAEA_PYTHON_SITELIBDIR})")
endif()

add_library(
Expand Down

0 comments on commit d6c76ce

Please sign in to comment.