Updated cmake to find variable.

This commit is contained in:
Steve Sperandeo 2018-04-14 07:24:54 +00:00
parent be7b029bd2
commit 6f28f01603
1 changed files with 1 additions and 1 deletions

2
tst/CMakeLists.txt Normal file → Executable file
View File

@ -1,4 +1,4 @@
find_path(CATCH_INCLUDE_DIR NAMES catch.hpp)
find_path(CATCH_INCLUDE_DIR NAMES catch.hpp HINTS ..)
include_directories(${CATCH_INCLUDE_DIR})
add_executable(etcd_test EtcdTest.cpp EtcdSyncTest.cpp WatcherTest.cpp)