find package test adjusted

This commit is contained in:
Bjoern Thiel 2017-05-19 11:31:12 +02:00 committed by GitHub
parent 1950ca27f2
commit 98b875ac1f

View File

@ -5,7 +5,7 @@ project(fmt-test)
find_package(FMT REQUIRED)
add_executable(library-test main.cc)
target_link_libraries(library-test fmt)
target_link_libraries(library-test Fmt::fmt)
if (TARGET fmt-header-only)
add_executable(header-only-test main.cc)