Skip to content

Commit c49a5dc

Browse files
CMAKE_CXX_STANDARD_REQUIRED
1 parent be7355e commit c49a5dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ if(CLR_CMAKE_PLATFORM_XPLAT)
373373
)
374374

375375
set(CMAKE_CXX_STANDARD 11)
376+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
376377

377378
# todo: fix general visibility of the interface
378379
# do not set to `fvisibility=hidden` as it is going to
@@ -391,6 +392,7 @@ if(CLR_CMAKE_PLATFORM_XPLAT)
391392
-Wno-undefined-inline\
392393
-Wno-inconsistent-missing-override\
393394
-Wno-c++14-extensions\
395+
-Wno-c++17-extensions\
394396
-Wno-macro-redefined\
395397
-Wno-pragmas\
396398
-Wno-invalid-token-paste\

0 commit comments

Comments
 (0)