summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-05-12 15:02:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-06-05 14:44:25 +0200
commit03ebfb08cd13346ca76ebf4264f41abb692afd02 (patch)
tree09f00eee0ffbd9ee1cad705f09e762e1d3623f34 /tracker-aruco
parent015d1298cb8f853cc4b0cae6a62c13af130791b7 (diff)
bump CMAKE_CXX_STANDARD
Diffstat (limited to 'tracker-aruco')
-rw-r--r--tracker-aruco/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-aruco/CMakeLists.txt b/tracker-aruco/CMakeLists.txt
index c477ac1e..333edb3e 100644
--- a/tracker-aruco/CMakeLists.txt
+++ b/tracker-aruco/CMakeLists.txt
@@ -31,7 +31,7 @@ if(OpenCV_FOUND)
try_compile(tracker-aruco_has-working-abi "${CMAKE_CURRENT_BINARY_DIR}"
SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/compile-test/abi.cpp"
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${dir}"
- "-DCXX_STANDARD=17" "-DCXX_STANDARD_REQUIRED=1"
+ "-DCXX_STANDARD=20" "-DCXX_STANDARD_REQUIRED=1"
OUTPUT_VARIABLE krap)
if(NOT tracker-aruco_has-working-abi)
message(FATAL_ERROR "${krap}\n" "Must use Aruco fork from <https://github.com/opentrack/aruco>")