Browse Source

tweaks for older cmake

master
Trevor Irons 4 years ago
parent
commit
32e5244227
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      CMake/SuperBuild.cmake

+ 2
- 1
CMake/SuperBuild.cmake View File

77
         message( STATUS "pybind11 was found" )
77
         message( STATUS "pybind11 was found" )
78
     else()
78
     else()
79
         message( STATUS "pybind11 was NOT found, please build or remove LEMMA_PYTHON3_BINDINGS" )
79
         message( STATUS "pybind11 was NOT found, please build or remove LEMMA_PYTHON3_BINDINGS" )
80
+        find_package (Python COMPONENTS Interpreter Development)
80
 	    find_package(PythonLibs 3.0 REQUIRED)
81
 	    find_package(PythonLibs 3.0 REQUIRED)
81
         ExternalProject_Add(pybind11
82
         ExternalProject_Add(pybind11
82
 		    GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
83
 		    GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
83
-		    GIT_TAG "v2.4.3" # "master" #"v2.4.3" #"master"
84
+		    GIT_TAG "v2.5.0" # "master" #"v2.4.3" #"master"
84
 		    UPDATE_COMMAND ""
85
 		    UPDATE_COMMAND ""
85
 		    PATCH_COMMAND ""
86
 		    PATCH_COMMAND ""
86
     	    PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/pybind11
87
     	    PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/pybind11

Loading…
Cancel
Save