From 4c16d0c0dee48db115690144fb98b825b18ef563 Mon Sep 17 00:00:00 2001 From: Brandon Victor Date: Tue, 27 Aug 2019 14:58:38 +1000 Subject: [PATCH] Point the include directory for the testing to the correct location, instead of relying on running it from the project root. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e17ce4..5c425c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -150,7 +150,7 @@ if(FFMC_BUILD_TESTING) ) target_include_directories(FFMCTest PRIVATE - FfFrameReader/test + "${FfFrameReader_SOURCE_DIR}/test" ) target_link_libraries(FFMCTest @@ -202,4 +202,4 @@ if(FFMC_BUILD_PYTHON_BINDING) ) add_dependencies(pyMultiCrop FfMultiCrop) -endif() \ No newline at end of file +endif()