mirror of
https://github.com/3cky/mbusd.git
synced 2024-11-13 10:13:56 +01:00
cmake: cleanup and added description
This commit is contained in:
parent
982e32b48a
commit
401750b793
@ -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")
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user