diff options
Diffstat (limited to 'graphics/brlcad/brlcad.SlackBuild')
-rw-r--r-- | graphics/brlcad/brlcad.SlackBuild | 39 |
1 files changed, 9 insertions, 30 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild index 492818ae3a..4cd44015ad 100644 --- a/graphics/brlcad/brlcad.SlackBuild +++ b/graphics/brlcad/brlcad.SlackBuild @@ -66,44 +66,23 @@ mkdir -p build cd build # There is a "known issue" according to the guys on #brlcad and we need # the cmake define "-DBRLCAD_ENABLE_STRICT=OFF" for now -LDFLAGS="-lpng16" \ cmake \ - -DBRLCAD_ASTYLE=BUNDLED \ - -DBRLCAD_GDIAM=BUNDLED \ - -DBRLCAD_FLAGS_OPTIMIZATION=ON \ - -DBRLCAD_ENABLE_STRICT=OFF \ - -DBRLCAD_FLAGS_DEBUG=OFF \ - -DBRLCAD_FLAGS_ENABLE_RUNTIME_DEBUG=OFF \ + -DBRLCAD_BUNDLED_LIBS=AUTO \ -DBRLCAD_ENABLE_OPENGL=ON \ + -DBRLCAD_ENABLE_RUNTIME_DEBUG=${BRLCAD_ENABLE_RUNTIME_DEBUG:-ON} \ + -DBRLCAD_FLAGS_DEBUG=OFF \ + -DBRLCAD_ENABLE_STRICT=OFF \ + -DBRLCAD_ENABLE_COMPILER_WARNINGS=OFF\ -DBRLCAD_ENABLE_EXTRADOCS=ON \ + -DBRLCAD_FLAGS_OPTIMIZATION=ON \ -DBRLCAD_INSTALL_EXAMPLE_GEOMETRY=ON \ - -DBRLCAD_BUNDLED_LIBS=OFF \ - -DBRLCAD_REGEX=SYSTEM \ - -DBRLCAD_TERMLIB=SYSTEM \ - -DBRLCAD_XMLLINT=SYSTEM \ - -DBRLCAD_XSLTPROC=SYSTEM \ - -DBRLCAD_ZLIB=SYSTEM \ -DBRLCAD_TCL=BUNDLED \ -DBRLCAD_TK=BUNDLED \ -DBRLCAD_ITCL=BUNDLED \ -DBRLCAD_ITK=BUNDLED \ - -DBRLCAD_IWIDGETS=BUNDLED \ - -DBRLCAD_LZ4=SYSTEM \ - -DBRLCAD_LIBVDS=BUNDLED \ - -DBRLCAD_VDS=BUNDLED \ - -DBRLCAD_OPENNURBS=BUNDLED \ - -DBRLCAD_PNG=SYSTEM \ - -DBRLCAD_LEMON=BUNDLED \ - -DBRLCAD_PERPLEX=BUNDLED \ - -DBRLCAD_RE2C=BUNDLED \ - -DBRLCAD_NETPBM=BUNDLED \ - -DBRLCAD_SC=BUNDLED \ - -DBRLCAD_SCL=BUNDLED \ - -DBRLCAD_TKHTML=BUNDLED \ - -DBRLCAD_TKPNG=BUNDLED \ - -DBRLCAD_TINYCTHREAD=BUNDLED \ - -DBRLCAD_TKTABLE=BUNDLED \ - -DBRLCAD_UTAHRLE=BUNDLED \ + -DBRLCAD_ENABLE_QT=${BRLCAD_ENABLE_QT:-OFF} \ + -DBRLCAD_ENABLE_OSG=${BRLCAD_ENABLE_OSG:-OFF} \ + -DBRLCAD_ENABLE_RTGL=${BRLCAD_ENABLE_RTGL:-OFF} \ -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \ -DMAN_DIR=man \ -DDATA_DIR=share \ |