mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Corresponding code changes
This commit is contained in:
parent
781c7a800f
commit
ae4cd1ebf1
14 changed files with 60 additions and 55 deletions
|
@ -1,8 +1,8 @@
|
|||
# catch2 is distributed as a standalone header.
|
||||
# catch2 is distributed as a standalone header / source amalgamation.
|
||||
#
|
||||
# Downloaded from:
|
||||
#
|
||||
# https://github.com/catchorg/Catch2/releases/download/v2.13.9/catch.hpp
|
||||
# https://github.com/catchorg/Catch2/releases/tag/v3.6.0
|
||||
#
|
||||
# The following changes were made to always print in microseconds, fixed format:
|
||||
#
|
||||
|
@ -12,6 +12,7 @@
|
|||
# - return os << duration.value() << ' ' << duration.unitsAsString();
|
||||
# + return os << std::fixed << duration.value() << ' ' << duration.unitsAsString();
|
||||
|
||||
add_library(catch2 INTERFACE)
|
||||
add_library(catch2 STATIC catch_amalgamated.cpp)
|
||||
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