aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindVala.cmake
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-23 17:10:45 +0100
committerMarvin W <git@larma.de>2017-03-23 17:16:08 +0100
commite6f89f8751e6e65d4a36a125cc3fe398098ba504 (patch)
tree54acce89355ee07b05db761d6d0dad8dad4e0f36 /cmake/FindVala.cmake
parentef0483765a0fd567f25b1f0af6df04e8973e5624 (diff)
downloaddino-e6f89f8751e6e65d4a36a125cc3fe398098ba504.tar.gz
dino-e6f89f8751e6e65d4a36a125cc3fe398098ba504.zip
New CMake
- add install and uninstall targets - compatibility for systems without pkg-config
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)