We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8381e7 commit a310077Copy full SHA for a310077
CMakeLists.txt
@@ -6,7 +6,9 @@ option(USE_REALSENSE "Use RealSense D435" ON)
6
option(USE_GTEST "Use gtest" OFF)
7
option(USE_XFEATURES2D "Use OpenCV xfeatures2d" OFF)
8
9
-cmake_policy(SET CMP0148 OLD) # required for current pybind11
+if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.27.0")
10
+ cmake_policy(SET CMP0148 OLD) # required for current pybind11
11
+endif()
12
13
# set(CMAKE_BUILD_TYPE "RELEASE") set(CMAKE_BUILD_TYPE "DEBUG")
14
0 commit comments