summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2013-09-19 21:17:30 +0200
committerSylvain Munaut <tnt@246tNt.com>2013-09-19 21:18:01 +0200
commitbd3abaa3b55d4918acd054ea1f119c73cee625df (patch)
tree76d25f12474c6686bc8baefb6939449bb29da206
parentc87749e7eea43d05f594d1852c043072d557997c (diff)
build: doxygen package needs to be detetected before the doxygen is usedgr3.6
Based on a patch for gr-osmosdr by Jaroslav Škarvada <jskarvad@redhat.com> Thanks to wk@ire.pw.edu.pl for reporting the issue in gr-iqbal. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--CMakeLists.txt2
-rw-r--r--docs/CMakeLists.txt5
2 files changed, 2 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 34a5e7a..3922009 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -118,6 +118,8 @@ if(NOT GNURADIO_CORE_FOUND)
message(FATAL_ERROR "GnuRadio Core required to compile iqbalance")
endif()
+find_package(Doxygen)
+
########################################################################
# Setup the include and linker paths
########################################################################
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index f16fbf6..446b86a 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -18,11 +18,6 @@
# Boston, MA 02110-1301, USA.
########################################################################
-# Setup dependencies
-########################################################################
-find_package(Doxygen)
-
-########################################################################
# Begin conditional configuration
########################################################################
if(ENABLE_DOXYGEN)