coin3: fix cmake support for crossbuild
CMAKE_INSTALL_INCLUDEDIR must be a relative path. This way, generated coin-export.cmake will compute include path at runtime against installed path, that is fine for crossbuild. If full path is provided, generated coin-export.cmake use directly this full path, that is wrong with of crossbuild usage. Fine to crossbuild python3-pivy 0.6.6
This commit is contained in:
parent
e9b0028016
commit
1fb9018dcb
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'coin3'
|
||||
pkgname=coin3
|
||||
version=4.0.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="coin-Coin-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DCMAKE_INSTALL_INCLUDEDIR=/usr/include/Coin3
|
||||
configure_args="-DCMAKE_INSTALL_INCLUDEDIR=include/Coin3
|
||||
-DCOIN_BUILD_TESTS=OFF -DCOIN_BUILD_DOCUMENTATION=ON"
|
||||
hostmakedepends="doxygen graphviz"
|
||||
makedepends="boost-devel glu-devel"
|
||||
|
|
Loading…
Reference in New Issue