gflags/test/config/CMakeLists.txt
Corentin Le Molgat f7228d77b5 Use CMake namespace gflags:: for export and alias target
Now use gflags::gflags instead of gflags

note: seems already in use in gRPC
cf https://github.com/grpc/grpc/blob/master/cmake/gflags.cmake#L30
2018-01-31 13:46:59 +01:00

10 lines
227 B
CMake

## gflags package configuration tests
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
project (gflags_${TEST_NAME})
find_package (gflags REQUIRED)
add_executable (foo main.cc)
target_link_libraries (foo gflags::gflags)