cmake: cleanup and added description

This commit is contained in:
Nick 2017-12-04 22:40:12 +01:00
parent 982e32b48a
commit 401750b793
2 changed files with 1 additions and 12 deletions

View File

@ -119,6 +119,7 @@ execute_process(
OUTPUT_STRIP_TRAILING_WHITESPACE
)
## issue the package creation with $make package
# which infrastructure do we want
set(CPACK_GENERATOR "DEB")
pkg_check_modules(rpmBuilder "librpmbuild3")

View File

@ -1,12 +0,0 @@
# this one is important
SET(CMAKE_SYSTEM_NAME Linux)
# specify the cross compiler
SET(CMAKE_C_COMPILER /usr/bin/arm-linux-gnueabihf-gcc)
## for c++ support `install g++-arm-linux-gnueabihf`
#SET(CMAKE_CXX_COMPILER /usr/bin/arm-linux-gnueabihf-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)