Label gtest directories as system

To hide all warnings when use custom GTEST_ROOT.
This commit is contained in:
elsid 2017-08-20 22:30:10 +03:00
parent 27610a85ac
commit 2f9b6b536b

View file

@ -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