Fixed unittest directory check to look in the source directory

This commit is contained in:
Anna Gringauze 2015-08-25 11:29:49 -07:00
parent 8a38a411ca
commit 462a04d912

View File

@ -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()