diff --git a/cmake/GitCondDBConfig.cmake.in b/cmake/GitCondDBConfig.cmake.in
index c8b0d2a2637dbe1d351653b09ed3b0200b1e27a5..2b8f4b8762d47cc1d5c766b9860fe341a63b4ea4 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
 )