summaryrefslogtreecommitdiffstats
path: root/src/openscenegraph.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/openscenegraph.mk')
-rw-r--r--src/openscenegraph.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openscenegraph.mk b/src/openscenegraph.mk
index de3fda2..325df09 100644
--- a/src/openscenegraph.mk
+++ b/src/openscenegraph.mk
@@ -32,6 +32,9 @@ define $(PKG)_BUILD
-DBUILD_OSG_APPLICATIONS=OFF \
-DPOPPLER_HAS_CAIRO_EXITCODE=0 \
-D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1 \
- -D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED=1
+ -D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED=1 \
+ $(if $(filter qtbase,$($(PKG)_DEPS)), \
+ -DDESIRED_QT_VERSION=5, \
+ -DDESIRED_QT_VERSION=4)
$(MAKE) -C '$(1).build' -j '$(JOBS)' install VERBOSE=1
endef