diff options
author | Robert Tari <robert@tari.in> | 2021-12-07 11:01:55 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-12-14 21:52:31 +0100 |
commit | ee7de81bb4abe4b5bdc314d2c2f7ea9ac6afc234 (patch) | |
tree | b2a7c5d2513a77f349f106c325319bc045078975 /src | |
parent | 2d445b6517890a826e10ec2f29c32728c395fd2a (diff) | |
download | libayatana-common-ee7de81bb4abe4b5bdc314d2c2f7ea9ac6afc234.tar.gz libayatana-common-ee7de81bb4abe4b5bdc314d2c2f7ea9ac6afc234.tar.bz2 libayatana-common-ee7de81bb4abe4b5bdc314d2c2f7ea9ac6afc234.zip |
src/CMakeLists.txt: Build .gir and .typelib when Vala is not present
fixes https://github.com/AyatanaIndicators/libayatana-common/issues/53
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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() |