mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 10:29:00 +08:00
683c1dfd2d
- [X] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md) - [X] SHA512s are updated for each updated download - [ ] ~The "supports" clause reflects platforms that may be fixed by this new version~ - [ ] ~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - [ ] ~Any patches that are no longer applied are deleted from the port's directory.~ - [X] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [X] Only one version is added to each modified port's versions file.
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 772da36..7ff62b8 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -24,7 +24,7 @@ if (UNIX)
|
|
-fms-extensions
|
|
-Wfloat-equal
|
|
-Wextra
|
|
- -std=c++11
|
|
+ -std=c++14
|
|
)
|
|
include_directories (${PROJECT_SOURCE_DIR}
|
|
${PROJECT_SOURCE_DIR}/3rdparty)
|
|
diff --git a/evpp/CMakeLists.txt b/evpp/CMakeLists.txt
|
|
index 1c17f04..9f07f97 100644
|
|
--- a/evpp/CMakeLists.txt
|
|
+++ b/evpp/CMakeLists.txt
|
|
@@ -15,12 +15,10 @@ include_directories(${PROJECT_SOURCE_DIR})
|
|
|
|
add_library(evpp_static STATIC ${evpp_SRCS})
|
|
target_link_libraries(evpp_static ${DEPENDENT_LIBRARIES})
|
|
-target_compile_features(evpp_static PRIVATE cxx_std_11)
|
|
target_include_directories(evpp_static INTERFACE $<INSTALL_INTERFACE:include>)
|
|
|
|
add_library(evpp_lite_static STATIC ${evpp_lite_SRCS})
|
|
target_link_libraries(evpp_lite_static ${DEPENDENT_LIBRARIES})
|
|
-target_compile_features(evpp_lite_static PRIVATE cxx_std_11)
|
|
target_include_directories(evpp_lite_static INTERFACE $<INSTALL_INTERFACE:include>)
|
|
|
|
if (UNIX)
|