Skip to content

Commit

Permalink
Force looking for Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Mar 9, 2024
1 parent dbdae45 commit bdd8300
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
find_package(Boost COMPONENTS date_time filesystem system regex REQUIRED)
find_package(Python 3 COMPONENTS Development REQUIRED)
find_package(Python 3.6 COMPONENTS Development REQUIRED)

file(GLOB_RECURSE headers "*.h")
file(GLOB_RECURSE templates "*.txx")
Expand Down
2 changes: 1 addition & 1 deletion src/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
find_package(Python 3 COMPONENTS Interpreter REQUIRED)
find_package(Python 3.6 COMPONENTS Interpreter REQUIRED)

execute_process(
COMMAND ${Python_EXECUTABLE}
Expand Down
2 changes: 1 addition & 1 deletion src/python/dicomifier/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if(NOT "${Odil_FOUND}")
get_filename_component(Odil_INCLUDE_DIRS "${Odil_INCLUDE_DIRS}" DIRECTORY)
find_library(Odil_LIBRARIES odil REQUIRED)
endif()
find_package(Python 3 COMPONENTS Interpreter Development NumPy REQUIRED)
find_package(Python 3.6 COMPONENTS Interpreter Development NumPy REQUIRED)
find_package(pybind11 2.0 REQUIRED)

include_directories(${CMAKE_SOURCE_DIR}/src/lib ${PYTHON_INCLUDE_DIRS})
Expand Down

0 comments on commit bdd8300

Please sign in to comment.