projects
/
platform
/
upstream
/
glog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f176cc8
)
Added $<BUILD_INTERFACE> to gflags include to avoid including the gflags include...
author
Guillaume Dumont
<dumont.guillaume@gmail.com>
Tue, 5 Apr 2016 18:02:42 +0000
(14:02 -0400)
committer
Guillaume Dumont
<dumont.guillaume@gmail.com>
Tue, 5 Apr 2016 18:02:42 +0000
(14:02 -0400)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index a32cb00761e28b61a4bd013a41201661050384cd..d8a13bc8117edd3521df3cf966c6e875e70c7c7d 100644
(file)
--- 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 $
<BUILD_INTERFACE:${gflags_INCLUDE_DIR}>
)
target_link_libraries (glog PUBLIC ${gflags_LIBRARIES})
if (NOT BUILD_SHARED_LIBS)