Use gflags ALIAS instead of ${gflags_XXX} vars
authorBrian Orr <brian.orr@gmail.com>
Thu, 22 Jun 2017 07:25:13 +0000 (00:25 -0700)
committerBrian Orr <brian.orr@gmail.com>
Thu, 22 Jun 2017 07:25:13 +0000 (00:25 -0700)
commite1cae334a198010b7c4642dfb578552d2bf15adc
tree06b9324f81ec38dc2fe5b344a767a4cb3040fc16
parent77a0e36b7a543a534b2a3634f06c958a638a40a4
Use gflags ALIAS instead of ${gflags_XXX} vars

The gflags project updated their CMake config last year with a
`gflags` ALIAS target. This can be used instead of the legacy
`${gflags_LIBRARIES}` and `${gflags_INCLUDE_DIRS}` variables. It also
looks cleaner.

Fixes #198
CMakeLists.txt