doxygen package needs to be detetected before the doxygen is used

Without this patch the DOXYGEN_EXECUTABLE is set too late which results
in build failure when processing swig directory (with ENABLE_DOXYGEN).

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
gr3.6
Jaroslav Škarvada 10 years ago committed by Steve Markgraf
parent b999924d8e
commit 2f6592566b
  1. 1
      CMakeLists.txt
  2. 5
      docs/CMakeLists.txt

@ -115,6 +115,7 @@ find_package(LibOsmoSDR)
find_package(LibRTLSDR)
find_package(LibMiriSDR)
find_package(LibHackRF)
find_package(Doxygen)
if(NOT GRUEL_FOUND)
message(FATAL_ERROR "Gruel required to build " ${CMAKE_PROJECT_NAME})

@ -17,11 +17,6 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
########################################################################
# Setup dependencies
########################################################################
find_package(Doxygen)
########################################################################
# Begin conditional configuration
########################################################################

Loading…
Cancel
Save