Skip to content

Commit

Permalink
Add module test files to .cmakefiles.txt too
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Nov 30, 2024
1 parent 3de812a commit 9729156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions asio/.cmakefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
'
Expand Down
2 changes: 1 addition & 1 deletion asio/src/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9729156

Please sign in to comment.