From 9729156b43287a8521fa116e43dfa08aa53b8a22 Mon Sep 17 00:00:00 2001 From: ClausKlein Date: Sat, 30 Nov 2024 20:23:52 +0100 Subject: [PATCH] Add module test files to .cmakefiles.txt too --- asio/.cmakefiles.txt | 2 ++ asio/src/examples/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/asio/.cmakefiles.txt b/asio/.cmakefiles.txt index c75ae8357d..f4dcdcd67b 100644 --- a/asio/.cmakefiles.txt +++ b/asio/.cmakefiles.txt @@ -38,6 +38,8 @@ cmake/spell.cmake cmake/variables.cmake cmake/windows-set-path.cmake module/asio.cppm +module/tests/main.hpp +module/tests/main.cpp src/examples/CMakeLists.txt src/tests/CMakeLists.txt ' diff --git a/asio/src/examples/CMakeLists.txt b/asio/src/examples/CMakeLists.txt index 8886b1368a..5fadf05088 100644 --- a/asio/src/examples/CMakeLists.txt +++ b/asio/src/examples/CMakeLists.txt @@ -21,7 +21,7 @@ if(PROJECT_IS_TOP_LEVEL) add_link_options(-lc++experimental) add_compile_options(-stdlib=libc++) add_link_options(-stdlib=libc++) - elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15.0) + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 14.0) set(USE_MODULES TRUE) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") set(USE_MODULES TRUE)