Add CMake target dependency between test-main and fmt
This commit is contained in:
parent
fe09375b31
commit
bf4bdbbe6d
@ -4,7 +4,7 @@ set(TEST_MAIN_SRC test-main.cc gtest-extra.cc gtest-extra.h util.cc)
|
||||
add_library(test-main STATIC ${TEST_MAIN_SRC})
|
||||
target_include_directories(test-main PUBLIC
|
||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>)
|
||||
target_link_libraries(test-main gtest)
|
||||
target_link_libraries(test-main gtest fmt)
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user