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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user