From 2f9b6b536bbcee59dcc5a579cfd68054c0a54cc3 Mon Sep 17 00:00:00 2001 From: elsid Date: Sun, 20 Aug 2017 22:30:10 +0300 Subject: [PATCH] Label gtest directories as system To hide all warnings when use custom GTEST_ROOT. --- apps/openmw_test_suite/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw_test_suite/CMakeLists.txt b/apps/openmw_test_suite/CMakeLists.txt index 9b09bc41f..48c8be4d8 100644 --- a/apps/openmw_test_suite/CMakeLists.txt +++ b/apps/openmw_test_suite/CMakeLists.txt @@ -1,7 +1,7 @@ find_package(GTest REQUIRED) if (GTEST_FOUND) - include_directories(${GTEST_INCLUDE_DIRS}) + include_directories(SYSTEM ${GTEST_INCLUDE_DIRS}) file(GLOB UNITTEST_SRC_FILES ../openmw/mwworld/store.cpp