From e7a5118f8643fb00b4bb977eb9834de5ee771ff4 Mon Sep 17 00:00:00 2001 From: Henry Bruce Date: Thu, 7 Jan 2016 14:07:56 -0800 Subject: [PATCH] cmake: Added src folder to include directory list This is required so that interface include files are taken from local src folder before looking in /usr/include/upm where an older version may exist. Signed-off-by: Henry Bruce Signed-off-by: Abhishek Malik --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5c0fa850..5cf074e4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -175,7 +175,7 @@ macro(upm_module_init) foreach (linkflag ${ARGN}) target_link_libraries (${libname} ${linkflag}) endforeach () - include_directories (${MRAA_INCLUDE_DIRS} .) + include_directories (${MRAA_INCLUDE_DIRS} . ..) target_link_libraries (${libname} ${MRAA_LIBRARIES}) set_target_properties( ${libname}