build: debug and test builds via contrib

This commit is contained in:
Dusan Klinec 2019-04-09 19:23:28 +02:00
parent 5dbcceb664
commit f29fecd517
No known key found for this signature in database
GPG key ID: 6337E118CCBCE103
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)