mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 20:57:50 +08:00
13 lines
385 B
Diff
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()
|