1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:23:53 +00:00

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) find_package(GTest REQUIRED)
if (GTEST_FOUND) if (GTEST_FOUND)
include_directories(${GTEST_INCLUDE_DIRS}) include_directories(SYSTEM ${GTEST_INCLUDE_DIRS})
file(GLOB UNITTEST_SRC_FILES file(GLOB UNITTEST_SRC_FILES
../openmw/mwworld/store.cpp ../openmw/mwworld/store.cpp