From 2deb453e4abf6840bca9be01567677c33414cb2a Mon Sep 17 00:00:00 2001 From: Ben Morgan <Ben.Morgan@warwick.ac.uk> Date: Tue, 14 Jan 2020 17:15:50 +0000 Subject: [PATCH] Use correct namespaced target name GitCondDB's imported target is now namespaced, so use that when setting properties independent of the exported targets file. --- cmake/GitCondDBConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/GitCondDBConfig.cmake.in b/cmake/GitCondDBConfig.cmake.in index c8b0d2a..2b8f4b8 100644 --- a/cmake/GitCondDBConfig.cmake.in +++ b/cmake/GitCondDBConfig.cmake.in @@ -18,6 +18,6 @@ pkg_check_modules(git2 libgit2 REQUIRED IMPORTED_TARGET) include("${CMAKE_CURRENT_LIST_DIR}/GitCondDBFSShim.cmake" OPTIONAL) include("${CMAKE_CURRENT_LIST_DIR}/GitCondDBTargets.cmake") -set_target_properties(GitCondDB PROPERTIES +set_target_properties(GitCondDB::GitCondDB PROPERTIES INTERFACE_LINK_LIBRARIES PkgConfig::git2 ) -- GitLab