From 5e945461c96f59fde8c476d13c68254b0585ad3d 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..4e057c2 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_CURRENT_SOURCE_DIR}/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()