diff options
Diffstat (limited to 'vcpkg/ports/oatpp/fix-target.patch')
| -rw-r--r-- | vcpkg/ports/oatpp/fix-target.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/oatpp/fix-target.patch b/vcpkg/ports/oatpp/fix-target.patch new file mode 100644 index 0000000..e2e40c7 --- /dev/null +++ b/vcpkg/ports/oatpp/fix-target.patch @@ -0,0 +1,12 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 13cccc2c..c4a3fe44 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -301,6 +301,7 @@ set_target_properties(oatpp PROPERTIES + CXX_EXTENSIONS OFF + CXX_STANDARD_REQUIRED ON + ) ++target_compile_features(oatpp PUBLIC cxx_std_11) + if (MSVC) + target_compile_options(oatpp PRIVATE /permissive-) + endif() |