pineapple-src/externals/vcpkg/ports/caf/fix_cxx17.patch
2022-07-23 03:01:36 +02:00

8 lines
256 B
Diff
Executable file

--- 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