Skip to content

Commit 891f01f

Browse files
committed
[cmake] Link all programs against fmt
1 parent 24fc9f4 commit 891f01f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

programs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(program_sources
66
foreach(source_file ${program_sources})
77
STRING(REGEX REPLACE ".cpp" "" program_name "${source_file}")
88
add_executable(${program_name} ${source_file})
9-
target_link_libraries(${program_name} ${PROJECT_NAME}::${PROJECT_NAME}_c)
9+
target_link_libraries(${program_name} ${PROJECT_NAME}::${PROJECT_NAME}_c fmt::fmt)
1010
endforeach(source_file)
1111

1212
add_subdirectory(hubatom)

0 commit comments

Comments
 (0)