Skip to content
Snippets Groups Projects
Commit bbd96808 authored by Ivar Härnqvist's avatar Ivar Härnqvist
Browse files

use regular fmt target if header-only does not exist

parent acb07329
No related branches found
No related tags found
1 merge request!51Resolve "Re-Implement Evaluation"
Pipeline #15908 passed
This commit is part of merge request !51. Comments created here will be created in the context of that merge request.
......@@ -86,7 +86,8 @@ target_compile_options(
target_link_libraries(
"${TARGET_NAME}"
PRIVATE
fmt::fmt-header-only
$<TARGET_NAME_IF_EXISTS:fmt::fmt-header-only>
$<$<NOT:$<TARGET_EXISTS:fmt::fmt-header-only>>:fmt::fmt>
)
# Copy binaries to project folder for debugging during development.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment