#110 Set gflags_LIBRARIES to value of gflags_TARGET instead of "gflags"

This commit is contained in:
Andreas Schuh 2015-03-25 03:17:36 +00:00
parent 73178f0051
commit f4f524df1f

View 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)