Fixed unittest directory check to look in the source directory
This commit is contained in:
1 parent
8a38a411ca
commit
5e945461c9
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user