aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-24 22:50:08 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-24 22:50:08 +0200
commitea91c021f6d790adaa1b89c6b40342dd2ef8cd0d (patch)
tree7a2d136be6841c17e8f5c8e849254b5ecba9ddb7
parentd0083202881484c9e0ce7f6509f5241de39ed4c7 (diff)
downloadlibayatana-appindicator-ea91c021f6d790adaa1b89c6b40342dd2ef8cd0d.tar.gz
libayatana-appindicator-ea91c021f6d790adaa1b89c6b40342dd2ef8cd0d.tar.bz2
libayatana-appindicator-ea91c021f6d790adaa1b89c6b40342dd2ef8cd0d.zip
CMakeLists.txt: Fix how we evaluate the result for find_program for gtkdoc-scan.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7036e62..4ee060c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,7 +67,7 @@ pkg_check_modules(PROJECT_DEPS REQUIRED ${DEPS})
if (ENABLE_GTKDOC)
find_program (GTKDOC "gtkdoc-scan")
- if (NOT GTKDOC_FOUND)
+ if (NOT GTKDOC)
message(WARNING "Building the gtk-doc API documentation is enabled, but the gtkdoc-scan executable has not been found. Disabling API documentation building, although requested.")
set (ENABLE_GTKDOC OFF)
endif()