mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-15 17:27:57 +00:00
Compare commits
2 Commits
b848ff8db9
...
685ad74d53
Author | SHA1 | Date | |
---|---|---|---|
|
685ad74d53 | ||
|
288ea11534 |
@ -48,7 +48,13 @@ function(spdlog_prepare_test test_target spdlog_lib)
|
||||
if(SPDLOG_SANITIZE_ADDRESS)
|
||||
spdlog_enable_sanitizer(${test_target})
|
||||
endif()
|
||||
add_test(NAME ${test_target} COMMAND ${test_target})
|
||||
add_test(NAME ${test_target} COMMAND ${test_target})
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
target_compile_definitions(${test_target} PRIVATE _FILE_OFFSET_BITS=64)
|
||||
endif()
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
# The compiled library tests
|
||||
|
Loading…
Reference in New Issue
Block a user