1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Prefix googletest directory with CMake source dir.

This commit is contained in:
Matias Fontanini
2015-04-23 19:45:32 -07:00
parent 745ebfb904
commit 0dcbe6ffbe

View File

@@ -140,7 +140,7 @@ ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(examples)
# Only include googletest if the git submodule has been fetched
IF(EXISTS "googletest/CMakeLists.txt")
IF(EXISTS "${CMAKE_SOURCE_DIR}/googletest/CMakeLists.txt")
ADD_SUBDIRECTORY(googletest)
ENDIF()
ADD_SUBDIRECTORY(tests)