summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/config.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config.cmake.in b/cmake/config.cmake.in
index e664aa1..a7419c2 100644
--- a/cmake/config.cmake.in
+++ b/cmake/config.cmake.in
@@ -105,7 +105,7 @@ if (NOT TARGET @PACKAGE_NAME@)
endif ()
# alias for default import target to be compatible with older CMake package configurations
-set (@PACKAGE_NAME@_LIBRARIES "@PACKAGE_NAME@")
+set (@PACKAGE_NAME@_LIBRARIES "${@PACKAGE_NAME@_TARGET}")
# unset private variables
unset (_INSTALL_PREFIX)