Skip to content

Commit

Permalink
Fixing the use of python executable
Browse files Browse the repository at this point in the history
  • Loading branch information
andrsd committed May 27, 2024
1 parent ba6dba8 commit 4df931b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
find_program(PYTHON "python" REQUIRED)

configure_file(setup.py.in setup.py)
install(CODE "execute_process(COMMAND ${PYTHON} -m pip install ${CMAKE_CURRENT_BINARY_DIR})")
install(CODE "execute_process(COMMAND ${Python3_EXECUTABLE} -m pip install ${CMAKE_CURRENT_BINARY_DIR})")

add_subdirectory(src)

Expand Down

0 comments on commit 4df931b

Please sign in to comment.