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)