graphics/FreeCAD: Fix build with OpenCASCADE libs in /usr.
This fixes the problem importing DXF which was reported on LQ. Thanks to enine. Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
6189c21842
commit
00860e988e
|
@ -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 ..
|
||||
|
|
Loading…
Reference in New Issue