hblock: bump to 3.4.0
[kiss-trunc88.git] / fltk / build.cmake
blob084c44786f8228f3f8843ad7d474e3f619aceaef
1 #!/bin/sh -e
3 export CFLAGS="$CFLAGS -fPIC"
4 export CXXFLAGS="$CFLAGS"
5 export DESTDIR="$1"
7 cmake -S . -B build \
8 -DCMAKE_INSTALL_PREFIX=/usr \
9 -DCMAKE_BUILD_TYPE=None \
10 -DOPTION_BUILD_SHARED_LIBRARIES=ON \
11 -DFLTK_BUILD_TEST=OFF \
12 -DOPTION_USE_XINERAMA=OFF \
13 -DOPTION_BUILD_HTML_DOCUMENTATION=OFF \
14 -DOPTION_BUILD_PDF_DOCUMENTATION=OFF
16 cmake --build build
17 cmake --install build