vis: fix cmake typo

This commit is contained in:
Eric Wasylishen 2022-05-15 16:20:30 -06:00
parent 49c78292dd
commit b54edf704e
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ target_link_libraries(libvis PRIVATE common ${CMAKE_THREAD_LIBS_INIT} fmt::fmt)
# FIXME: still needed?
find_library(M_LIB m)
if (M_LIB)
target_link_libraries (vis PRIVATE ${M_LIB})
target_link_libraries(libvis PRIVATE ${M_LIB})
endif (M_LIB)
add_executable(vis main.cc)