mirror of
https://github.com/eclipse/upm.git
synced 2025-03-26 10:20:01 +03:00
cmake: Add parent directory to include path for UPM modules
This avoids using include files from a pre-existing UPM installation as they can break the build if API changes are made. Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
ba127ec4d4
commit
0e365590c4
@ -220,7 +220,7 @@ macro(upm_module_init)
|
|||||||
foreach (linkflag ${ARGN})
|
foreach (linkflag ${ARGN})
|
||||||
target_link_libraries (${libname} ${linkflag})
|
target_link_libraries (${libname} ${linkflag})
|
||||||
endforeach ()
|
endforeach ()
|
||||||
include_directories (${MRAA_INCLUDE_DIRS} .)
|
include_directories (${MRAA_INCLUDE_DIRS} . ..)
|
||||||
target_link_libraries (${libname} ${MRAA_LIBRARIES})
|
target_link_libraries (${libname} ${MRAA_LIBRARIES})
|
||||||
set_target_properties(
|
set_target_properties(
|
||||||
${libname}
|
${libname}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user