cmake: fix cross builds
This commit is contained in:
parent
50bbbd15a3
commit
6b663c6511
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ if [ "$CROSS_BUILD" ]; then
|
|||
build_style=cmake
|
||||
hostmakedepends="cmake gcc-fortran"
|
||||
configure_args=" -DCMAKE_DOC_DIR=/share/doc/cmake"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBRARIES=1 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBARCHIVE=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_CURL=1 -DCMAKE_USE_SYSTEM_ZLIB=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_EXPAT=1 -DCMAKE_USE_SYSTEM_BZIP2=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBLZMA=1 -DKWSYS_LFS_WORKS=1"
|
||||
else
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --mandir=/share/man"
|
||||
|
|
Loading…
Reference in a new issue