From 746adc5e71fb404383923c3ab1944876f009e00d Mon Sep 17 00:00:00 2001 From: Mario Werner Date: Tue, 23 May 2017 16:30:14 +0200 Subject: [PATCH] added new namespace to the header only target in the find package test --- test/find-package-test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/find-package-test/CMakeLists.txt b/test/find-package-test/CMakeLists.txt index a2ac9cac..40c07560 100644 --- a/test/find-package-test/CMakeLists.txt +++ b/test/find-package-test/CMakeLists.txt @@ -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 ()