aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-11-29 16:03:18 +0100
committerfiaxh <git@lightrise.org>2019-11-29 16:03:18 +0100
commitd194eae61d4fda8504a037daa721d9810ed1fe3e (patch)
tree0bca1c934573e7ee1d2528a8355f9297f7cb1f56 /cmake
parent1985fe1d7b94bd1eff80bb3da14bbc52e5585163 (diff)
downloaddino-d194eae61d4fda8504a037daa721d9810ed1fe3e.tar.gz
dino-d194eae61d4fda8504a037daa721d9810ed1fe3e.zip
Set ALPN info on XMPP connections if GIO >= 2.60
Diffstat (limited to 'cmake')
-rw-r--r--cmake/UseVala.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmake/UseVala.cmake b/cmake/UseVala.cmake
index 436a03ce..822ac005 100644
--- a/cmake/UseVala.cmake
+++ b/cmake/UseVala.cmake
@@ -146,9 +146,9 @@ function(vala_precompile output)
endforeach(pkg ${ARGS_PACKAGES})
set(vala_define_opts "")
- foreach(def ${ARGS_DEFINTIONS})
+ foreach(def ${ARGS_DEFINITIONS})
list(APPEND vala_define_opts "--define=${def}")
- endforeach(def ${ARGS_DEFINTIONS})
+ endforeach(def ${ARGS_DEFINITIONS})
set(custom_vapi_arguments "")
if(ARGS_CUSTOM_VAPIS)
@@ -212,6 +212,7 @@ function(vala_precompile output)
${VALA_EXECUTABLE}
ARGS
--fast-vapi ${fast_vapi_file}
+ ${vala_define_opts}
${ARGS_OPTIONS}
${VALAC_FLAGS}
${in_file}
@@ -326,4 +327,4 @@ function(vala_precompile output)
)
endif(ARGS_FAST_VAPI)
set(${output} ${out_files} PARENT_SCOPE)
-endfunction(vala_precompile) \ No newline at end of file
+endfunction(vala_precompile)