mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 11:20:25 +08:00
835a0dd483
- [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. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] 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.
26 lines
808 B
Diff
26 lines
808 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9c5e446..f550c2d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -76,7 +76,6 @@
|
|
COMMAND ${CMAKE_SOURCE_DIR}/dev/code2md "${readme_cpp}" "${readme_md}"
|
|
DEPENDS "${readme_cpp}")
|
|
endif()
|
|
|
|
-add_subdirectory(docs.in)
|
|
|
|
## Install instruction
|
|
# Create version file for cmake package
|
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 9c5e446..f550c2d 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -25,2 +25,3 @@
|
|
target_link_libraries(yomm2 PUBLIC Boost::headers)
|
|
+ target_compile_features(yomm2 PUBLIC cxx_std_17)
|
|
if (${YOMM2_CHECK_ABI_COMPATIBILITY})
|
|
@@ -44,2 +44,3 @@
|
|
target_link_libraries(yomm2 INTERFACE Boost::headers)
|
|
+ target_compile_features(yomm2 INTERFACE cxx_std_17)
|
|
endif()
|