From 058d2de2d494b5e4798602b85196d391ab87b2bc Mon Sep 17 00:00:00 2001 From: Sergio Ricardo Zerbetto Masson Date: Mon, 25 Jul 2022 16:52:23 -0300 Subject: [PATCH] Fixed tipo --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 90b0cef..b1398ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,7 +299,7 @@ if(MSVC) endif() # Compiling with guard:ehcont allow library consumers to enable guard:ehcont if they want. (Requires VS 2019 16.7 or later) - if((MSVC_VERSION GREATER 1928) AND (CMAKE_SIZEOF_VOID_P EQUAL 8)) + if((MSVC_VERSION GREATER_EQUAL 1928) AND (CMAKE_SIZEOF_VOID_P EQUAL 8)) target_compile_options(${PROJECT_NAME} PRIVATE "$<$:/guard:ehcont>") target_link_options(${PROJECT_NAME} PRIVATE "$<$:/guard:ehcont>") endif()