summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-12-09 09:38:16 -0500
committerGitHub <noreply@github.com>2017-12-09 09:38:16 -0500
commit59202300f1a774068608caff0351cc084fe79e7c (patch)
tree5d43e76b99147324ee15705b3beb40aa6e85cda4 /googlemock
parentcc372a071bb417c83cd5dbca008bda1c438af4d5 (diff)
parent10ef1d9a1e7e6a0b3701d262cf1b889620fdbbc9 (diff)
downloadgoogletest-59202300f1a774068608caff0351cc084fe79e7c.tar.gz
googletest-59202300f1a774068608caff0351cc084fe79e7c.zip
Merge pull request #1333 from sam-lunt/use-system-includes
Use system includes
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt
index c474947e..ead51bf3 100644
--- a/googlemock/CMakeLists.txt
+++ b/googlemock/CMakeLists.txt
@@ -103,8 +103,8 @@ cxx_library(gmock_main
# to the targets for when we are part of a parent build (ie being pulled
# in via add_subdirectory() rather than being a standalone build).
if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11")
- target_include_directories(gmock INTERFACE "${gmock_SOURCE_DIR}/include")
- target_include_directories(gmock_main INTERFACE "${gmock_SOURCE_DIR}/include")
+ target_include_directories(gmock SYSTEM INTERFACE "${gmock_SOURCE_DIR}/include")
+ target_include_directories(gmock_main SYSTEM INTERFACE "${gmock_SOURCE_DIR}/include")
endif()
########################################################################
OpenPOWER on IntegriCloud