1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Include header files in CMake sources (#16297)

This commit is contained in:
Lucas OH 2025-07-12 13:23:35 +02:00 committed by GitHub
parent f71e1447c9
commit ce2380b58e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 139 additions and 6 deletions

View file

@ -12,7 +12,7 @@
# - return os << duration.value() << ' ' << duration.unitsAsString();
# + return os << std::fixed << duration.value() << ' ' << duration.unitsAsString();
add_library(catch2 STATIC catch_amalgamated.cpp)
add_library(catch2 STATIC catch_amalgamated.cpp catch_amalgamated.hpp)
target_compile_definitions(catch2 PRIVATE CATCH_CONFIG_NOSTDOUT CATCH_AMALGAMATED_CUSTOM_MAIN)
add_library(Catch2::Catch2 ALIAS catch2)
target_include_directories(catch2 INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")