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

edit: fixed tests target with fmt link

parent 6690e3d3
No related branches found
No related tags found
No related merge requests found
Pipeline #61615 failed
......@@ -52,6 +52,7 @@ if(NOT fmt_FOUND)
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG ${FMT_VERSION}
OVERRIDE_FIND_PACKAGE
)
set(FMT_SYSTEM_HEADERS ON)
......
......@@ -63,6 +63,7 @@ endif()
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 fmt::fmt)
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)
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