Merge pull request #5419

f29fecd5 build: debug and test builds via contrib (Dusan Klinec)
This commit is contained in:
Riccardo Spagni 2019-05-07 17:26:31 +02:00
commit 123df0eaf7
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
7 changed files with 88 additions and 5 deletions

View file

@ -66,6 +66,7 @@ else ()
# Emulate the FindGTest module's variable.
set(GTEST_LIBRARIES gtest gtest_main)
set(GTEST_BOTH_LIBRARIES gtest gtest_main)
include_directories(SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}/gtest/include")
endif (GTest_FOUND)