From ee7de81bb4abe4b5bdc314d2c2f7ea9ac6afc234 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 7 Dec 2021 11:01:55 +0100 Subject: src/CMakeLists.txt: Build .gir and .typelib when Vala is not present fixes https://github.com/AyatanaIndicators/libayatana-common/issues/53 --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7ca0f5f..ee44f7a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -83,6 +83,10 @@ if (INTROSPECTION_FOUND) add_custom_target("src" ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon.vapi") + else() + + add_custom_target("src" ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/AyatanaCommon-0.0.typelib") + endif() endif() -- cgit v1.2.3