From f4f524df1fc13b260f8f6a2df1697e2469bc545c Mon Sep 17 00:00:00 2001 From: Andreas Schuh Date: Wed, 25 Mar 2015 03:17:36 +0000 Subject: [PATCH] #110 Set gflags_LIBRARIES to value of gflags_TARGET instead of "gflags" --- cmake/config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)