Skip to content
Snippets Groups Projects
Commit a6f1fd4c authored by Charles Villard's avatar Charles Villard
Browse files

edit: fixed tests target with fmt link

parent c3ef1ea1
No related branches found
No related tags found
No related merge requests found
Pipeline #60724 canceled
...@@ -52,6 +52,7 @@ if(NOT fmt_FOUND) ...@@ -52,6 +52,7 @@ if(NOT fmt_FOUND)
fmt fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG ${FMT_VERSION} GIT_TAG ${FMT_VERSION}
OVERRIDE_FIND_PACKAGE
) )
set(FMT_SYSTEM_HEADERS ON) set(FMT_SYSTEM_HEADERS ON)
......
...@@ -63,6 +63,7 @@ endif() ...@@ -63,6 +63,7 @@ endif()
target_link_libraries(tests${module_name} PRIVATE ${module_name}) target_link_libraries(tests${module_name} PRIVATE ${module_name})
target_link_libraries(tests${module_name} PRIVATE Catch2::Catch2WithMain) target_link_libraries(tests${module_name} PRIVATE Catch2::Catch2WithMain)
target_link_libraries(tests${module_name} PRIVATE fmt::fmt)
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras) list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)
include(CTest) include(CTest)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment