From d0a4352eaea36b19a3a07e74a586d0708da0bc57 Mon Sep 17 00:00:00 2001 From: Ethan Rublee Date: Tue, 26 Oct 2010 01:38:31 +0000 Subject: [PATCH] adding an include director to android cmake should work now --- android/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index 0ad4fda..acf7ebe 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -34,7 +34,7 @@ file(GLOB module_includes "${opencv_root}/modules/[a-zA-Z]*") list(REMOVE_ITEM module_includes ${opencv_root}/modules/CMakeLists.txt) -set(module_includes ${module_includes} ${CMAKE_SOURCE_DIR}/../3rdparty $(OPENCV_BUILD_ROOT) ) +set(module_includes ${module_includes} ${CMAKE_SOURCE_DIR}/../3rdparty $(OPENCV_BUILD_ROOT) ${opencv_root} ) foreach(mdir ${module_includes}) string(REPLACE "${opencv_root}" "$(OPENCV_ROOT)" n_f ${mdir}) set(android_module_include_dirs "${android_module_include_dirs} ${n_f}/include") -- 2.7.4