aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-02-07 15:45:59 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-02-07 15:45:59 +0100
commitd1ebf05a5949b923b457ea1c2d5c0896a88226f8 (patch)
treeac6ddf8b1616ae19b62a5bfa74a6d5268f758ffc
parent6e8551f1d77f46cf3a34ac9bce0b8475098346f2 (diff)
downloadcanvas_display.lv2-d1ebf05a5949b923b457ea1c2d5c0896a88226f8.tar.xz
meson: make GLEW no requirement.
-rw-r--r--VERSION2
-rw-r--r--meson.build7
2 files changed, 6 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 88491bb..84ea58b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.437
+0.1.439
diff --git a/meson.build b/meson.build
index db44571..d022c18 100644
--- a/meson.build
+++ b/meson.build
@@ -9,12 +9,15 @@ build_root = meson.build_root()
cc = meson.get_compiler('c')
+is_static = meson.is_cross_build() and false
+
m_dep = cc.find_library('m')
lv2_dep = dependency('lv2', version : '>=1.14.0')
cairo_dep = dependency('cairo', version : '>=1.0.0',
- static : meson.is_cross_build() and false) #FIXME
+ static : is_static)
glew_dep = dependency('glew', version : '>=2.1.0',
- static : meson.is_cross_build() and false) #FIXME
+ required : false,
+ static : is_static)
if not glew_dep.found()
# use embedded glew
glew_dep = declare_dependency(