Parcourir la source

tweaks for older cmake

master
Trevor Irons il y a 4 ans
Parent
révision
32e5244227
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      CMake/SuperBuild.cmake

+ 2
- 1
CMake/SuperBuild.cmake Voir le fichier

@@ -77,10 +77,11 @@ if (LEMMA_PYTHON3_BINDINGS)
77 77
         message( STATUS "pybind11 was found" )
78 78
     else()
79 79
         message( STATUS "pybind11 was NOT found, please build or remove LEMMA_PYTHON3_BINDINGS" )
80
+        find_package (Python COMPONENTS Interpreter Development)
80 81
 	    find_package(PythonLibs 3.0 REQUIRED)
81 82
         ExternalProject_Add(pybind11
82 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 85
 		    UPDATE_COMMAND ""
85 86
 		    PATCH_COMMAND ""
86 87
     	    PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/pybind11

Chargement…
Annuler
Enregistrer