summaryrefslogtreecommitdiff
path: root/comms/svxlink/files/patch-src_doc_CMakeLists.txt
blob: f2bb6280dba6b0b39d54373661f14e4be499d914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- src/doc/CMakeLists.txt.orig	2015-11-22 16:03:59 UTC
+++ src/doc/CMakeLists.txt
@@ -2,6 +2,7 @@
 add_custom_target(doc)
 
 # Add targets to generate API documentation with Doxygen if it's installed
+if(NOT QT_ONLY)
 find_package(Doxygen)
 if(DOXYGEN_FOUND)
   configure_file(doxygen.echolib.in doxygen.echolib @ONLY)
@@ -36,5 +37,6 @@ else(DOXYGEN_FOUND)
   message("--   It is an optional dependency and SvxLink will build without")
   message("--   it. Not needed for normal use.")
 endif(DOXYGEN_FOUND)
+endif(NOT QT_ONLY)
 
 add_subdirectory(man)