From: Guillaume Dumont Date: Tue, 5 Apr 2016 18:02:42 +0000 (-0400) Subject: Added $ to gflags include to avoid including the gflags include... X-Git-Tag: accepted/tizen/5.0/unified/20181102.024921~56^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45901a359f3912ad0fc3b40e7e8cf2855252ba31;p=platform%2Fupstream%2Fglog.git Added $ to gflags include to avoid including the gflags include dir in the glog-targets.cmake --- 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)