1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +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)
if (GTEST_FOUND)
include_directories(${GTEST_INCLUDE_DIRS})
include_directories(SYSTEM ${GTEST_INCLUDE_DIRS})
file(GLOB UNITTEST_SRC_FILES
../openmw/mwworld/store.cpp