Skip to content
Snippets Groups Projects
Verified Commit cd235ed8 authored by Pavel Doležal's avatar Pavel Doležal
Browse files

CMake: Install Python bindings to CMAKE_INSTALL_PREFIX

parent 6580c5d4
No related branches found
No related tags found
1 merge request!29Add Python bindings generated by pybind11
Pipeline #107549 passed
......@@ -72,7 +72,7 @@ if (BUILD_PYTHON_BINDINGS)
add_custom_target(pycdns ALL COMMAND pip3 wheel ${CMAKE_CURRENT_BINARY_DIR})
add_dependencies(pycdns cdns)
install(CODE "execute_process(COMMAND pip3 install ${CMAKE_CURRENT_BINARY_DIR})")
install(CODE "execute_process(COMMAND pip3 install --prefix=${CMAKE_INSTALL_PREFIX} ${CMAKE_CURRENT_BINARY_DIR})")
endif(BUILD_PYTHON_BINDINGS)
if(BUILD_TESTS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment