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-05-12 15:02:13 +0200
commitb4a5d5ab0eb5b43e142de48708292845219af0ae (patch)
treec6e82f3af020a212c3eb09b06c764205fbbb5e87 /tracker-aruco
parentdb54d8eb86b06e6c7ea44ff0c112c22ab85305c3 (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>")