summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAndreas Schuh <andreas.schuh.84@gmail.com>2015-03-25 03:17:36 +0000
committerAndreas Schuh <andreas.schuh.84@gmail.com>2015-03-25 03:17:36 +0000
commitf4f524df1fc13b260f8f6a2df1697e2469bc545c (patch)
tree644bb5bb0a7720039b2826a64bedde231be263c1 /cmake
parent73178f00518971b375b682796381b0c3262807d8 (diff)
downloadgflags-f4f524df1fc13b260f8f6a2df1697e2469bc545c.tar.gz
gflags-f4f524df1fc13b260f8f6a2df1697e2469bc545c.tar.bz2
gflags-f4f524df1fc13b260f8f6a2df1697e2469bc545c.zip
#110 Set gflags_LIBRARIES to value of gflags_TARGET instead of "gflags"
Diffstat (limited to 'cmake')
-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)