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:
parent
f71e1447c9
commit
ce2380b58e
24 changed files with 139 additions and 6 deletions
|
@ -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}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue