#110 Set gflags_LIBRARIES to value of gflags_TARGET instead of "gflags"
authorAndreas Schuh <andreas.schuh.84@gmail.com>
Wed, 25 Mar 2015 03:17:36 +0000 (03:17 +0000)
committerAndreas Schuh <andreas.schuh.84@gmail.com>
Wed, 25 Mar 2015 03:17:36 +0000 (03:17 +0000)
cmake/config.cmake.in

index e664aa1..a7419c2 100644 (file)
@@ -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)