Skip to content

Commit

Permalink
added new namespace to the header only target in the find package test
Browse files Browse the repository at this point in the history
  • Loading branch information
niosHD committed May 23, 2017
1 parent 048d2ae commit 9f48bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/find-package-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ find_package(FMT REQUIRED)
add_executable(library-test main.cc)
target_link_libraries(library-test fmt::fmt)

if (TARGET fmt-header-only)
if (TARGET fmt::fmt-header-only)
add_executable(header-only-test main.cc)
target_link_libraries(header-only-test fmt-header-only)
target_link_libraries(header-only-test fmt::fmt-header-only)
endif ()

0 comments on commit 9f48bb8

Please sign in to comment.