aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-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()