2021-05-27 01:33:43 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-04-29 21:07:01 +08:00
|
|
|
index 9c5e446..f550c2d 100644
|
2021-05-27 01:33:43 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-04-29 21:07:01 +08:00
|
|
|
@@ -76,7 +76,6 @@
|
2024-04-24 01:55:14 +08:00
|
|
|
COMMAND ${CMAKE_SOURCE_DIR}/dev/code2md "${readme_cpp}" "${readme_md}"
|
|
|
|
DEPENDS "${readme_cpp}")
|
|
|
|
endif()
|
2021-05-27 01:33:43 +08:00
|
|
|
|
2024-04-24 01:55:14 +08:00
|
|
|
-add_subdirectory(docs.in)
|
2021-05-27 01:33:43 +08:00
|
|
|
|
2024-04-24 01:55:14 +08:00
|
|
|
## Install instruction
|
|
|
|
# Create version file for cmake package
|
2024-04-29 21:07:01 +08:00
|
|
|
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()
|