From 45901a359f3912ad0fc3b40e7e8cf2855252ba31 Mon Sep 17 00:00:00 2001 From: Guillaume Dumont Date: Tue, 5 Apr 2016 14:02:42 -0400 Subject: [PATCH] Added $ to gflags include to avoid including the gflags include dir in the glog-targets.cmake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a32cb00..d8a13bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -390,7 +390,7 @@ if (HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS) endif (HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS) if (gflags_FOUND) - target_include_directories (glog PUBLIC ${gflags_INCLUDE_DIR}) + target_include_directories (glog PUBLIC $) target_link_libraries (glog PUBLIC ${gflags_LIBRARIES}) if (NOT BUILD_SHARED_LIBS) -- 2.34.1