Skip to content

Commit d596221

Browse files
committed
Fix a cmake warning
1 parent 624fc08 commit d596221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ endif(BUILD_SHARED_LIBS)
5252
# Dropping support for older versions of VS would allow to only rely on __cplusplus
5353
if(MSVC AND MSVC_VERSION GREATER_EQUAL 1914)
5454
add_compile_options(/Zc:__cplusplus)
55-
endif(MSVC)
55+
endif(MSVC AND MSVC_VERSION GREATER_EQUAL 1914)
5656

5757
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND CMAKE_CXX_COMPILER_ID MATCHES Clang|GNU)
5858
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Werror)

0 commit comments

Comments
 (0)