Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 8616248

Browse files
fix cmake issue
cmake 3.3 (which we're using) doesn't have function GREATER_EQUAL
1 parent 687b7f1 commit 8616248

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/check_compiling_issues.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if(NOT MSVC_VERSION)
3737
# Even if we are ensuring that we use CMAKE_CXX_STANDARD >= 14, check if
3838
# shared_mutex header file is available for the current compiler version
3939
# because CXX_STANDARD is being set to 14 for --c++1y parameter
40-
if(CXX_STANDARD GREATER_EQUAL 14)
40+
if(CXX_STANDARD GREATER 11)
4141
set(CMAKE_REQUIRED_FLAGS "--std=c++${CMAKE_CXX_STANDARD} -c")
4242
CHECK_CXX_SOURCE_COMPILES(
4343
"#include <shared_mutex>

0 commit comments

Comments
 (0)