aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindVala.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindVala.cmake')
-rw-r--r--cmake/FindVala.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindVala.cmake b/cmake/FindVala.cmake
index 5150a7d9..371daaf5 100644
--- a/cmake/FindVala.cmake
+++ b/cmake/FindVala.cmake
@@ -46,6 +46,7 @@
# Search for the valac executable in the usual system paths
# Some distributions rename the valac to contain the major.minor in the binary name
+find_package(GObject REQUIRED)
find_program(VALA_EXECUTABLE NAMES valac valac-0.20 valac-0.18 valac-0.16 valac-0.14 valac-0.12 valac-0.10)
mark_as_advanced(VALA_EXECUTABLE)