From 462a04d912f89cad4e1635971a49b9a777fd2513 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Tue, 25 Aug 2015 11:29:49 -0700 Subject: [PATCH] Fixed unittest directory check to look in the source directory --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8f4385a..25a039f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -26,7 +26,7 @@ else() endif() endif() -if (NOT EXISTS tests/unittest-cpp) +if (NOT EXISTS ${CMAKE_SOURCE_DIR}/tests/unittest-cpp) message(FATAL_ERROR "Could not find unittest-cpp enlistment. Please run 'git clone https://github.com/Microsoft/unittest-cpp.git unittest-cpp' in the tests directory") endif()