Merge pull request #3 from annagrin/dev/annagrin/FixUnittestDirectoryCheck

Fixed unittest directory check to look in the source directory
This commit is contained in:
Neil MacIntosh 2015-08-25 12:23:25 -07:00
commit 3c9dc3b824

View File

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