Use relative paths for CMAKE_INSTALL_${DATADIR, DATAROOTDIR, DOCDIR}
And remove some now unnecessary CMAKE_INSTALL options
This commit is contained in:
parent
45ef9dde62
commit
54b068a5da
1 changed files with 3 additions and 5 deletions
8
PKGBUILD
8
PKGBUILD
|
@ -96,11 +96,9 @@ build() {
|
||||||
-D PYTHON_EXECUTABLE=/usr/bin/python \
|
-D PYTHON_EXECUTABLE=/usr/bin/python \
|
||||||
-D INSTALL_TO_SITEPACKAGES=ON \
|
-D INSTALL_TO_SITEPACKAGES=ON \
|
||||||
-D CMAKE_INSTALL_PREFIX='/usr/lib/freecad' \
|
-D CMAKE_INSTALL_PREFIX='/usr/lib/freecad' \
|
||||||
-D CMAKE_INSTALL_BINDIR='/usr/lib/freecad/bin' \
|
-D CMAKE_INSTALL_DATADIR='../../share/freecad' \
|
||||||
-D CMAKE_INSTALL_LIBDIR='/usr/lib/freecad/lib' \
|
-D CMAKE_INSTALL_DATAROOTDIR='../../share' \
|
||||||
-D CMAKE_INSTALL_DATADIR='/usr/share/freecad' \
|
-D CMAKE_INSTALL_DOCDIR='../../doc/freecad'
|
||||||
-D CMAKE_INSTALL_DATAROOTDIR='/usr/share' \
|
|
||||||
-D CMAKE_INSTALL_DOCDIR='/usr/share/doc/freecad'
|
|
||||||
|
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue