CMake imported targets should be namespaced

This commit is contained in:
Bjoern Thiel authored and Victor Zverovich committed 2017-05-21 14:17:12 +03:00
1 parent e14bac62a0
commit 048d2aec27
2 files changed
+4 -3

No files matched your search

+1 -1
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)