Private
Public Access
2
0

cmake: use cmake includedir

We need to use CMake variables to avoid installing things in the wrong places on
systems that have multilib enabled.

Signed-off-by: Kevron Rees <kevron.m.rees@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Kevron Rees
2015-11-11 13:43:46 -08:00
committed by Brendan Le Foll
parent 063a3154aa
commit c7a405a531
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ target_link_libraries (spi_max7219 mraa)
add_subdirectory (c++)
install (DIRECTORY ${PROJECT_SOURCE_DIR}/examples/ DESTINATION share/mraa/examples)
install (DIRECTORY ${PROJECT_SOURCE_DIR}/examples/ DESTINATION ${CMAKE_INSTALL_DATADIR}/mraa/examples)
if (INSTALLGPIOTOOL)
install (TARGETS mraa-gpio DESTINATION bin)