vcpkg/ports/oatpp/fix-target.patch

13 lines
385 B
Diff
Raw Normal View History

2023-09-14 06:30:41 +08:00
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()