summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild
index e87e839e63..77babb3a7c 100644
--- a/graphics/FreeCAD/FreeCAD.SlackBuild
+++ b/graphics/FreeCAD/FreeCAD.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=FreeCAD
VERSION=${VERSION:-0.16}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,11 +80,9 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DOCC_INCLUDE_DIR:PATH=/opt/OpenCASCADE/inc \
- -DOCC_LIBRARY:PATH=/opt/OpenCASCADE/lib${LIBDIRSUFFIX} \
- -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/opt/OpenCASCADE/lib${LIBDIRSUFFIX}" \
+ -DOCC_LIBRARY:PATH=/usr/lib${LIBDIRSUFFIX} \
-DRESOURCEDIR=/opt/$PRGNAM/share/data \
-DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON \
-DCMAKE_BUILD_TYPE=Release ..