mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 01:09:07 +08:00
9 lines
256 B
Diff
9 lines
256 B
Diff
|
--- a/CMakeLists.txt
|
||
|
+++ a/CMakeLists.txt
|
||
|
@@ -115,3 +115,4 @@
|
||
|
+target_compile_features(caf_internal INTERFACE cxx_std_17)
|
||
|
# TODO: simply set CXX_STANDARD when switching to CMake ≥ 3.9.6
|
||
|
-if(NOT CMAKE_CROSSCOMPILING)
|
||
|
+if(0)
|
||
|
try_compile(caf_has_cxx_17
|