From 227447e74cfc94c155c05f734df0b8102d7aeb55 Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Sun, 21 Nov 2021 18:53:43 +0100 Subject: [PATCH] Fix for AppleClang 12 --- thirdparty/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index cf944ca..2f54a7c 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -71,7 +71,7 @@ endif() if(APPLE AND CMAKE_SYSTEM_VERSION VERSION_GREATER_EQUAL 18.0.0) target_compile_options(pangolin PRIVATE "-Wno-deprecated-declarations") - if(CMAKE_CXX_COMPILER_ID "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 12.0.0) + if(CMAKE_CXX_COMPILER_ID "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.0.0) target_compile_options(pangolin PRIVATE "-Wno-deprecated-copy") endif()