vcpkg/ports/oatpp/fix-target.patch
2023-09-13 15:30:41 -07:00

13 lines
385 B
Diff

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