From 3543384ad05f07fd22eb71096ccca4e329390c8e Mon Sep 17 00:00:00 2001 From: ptrkrysik Date: Thu, 14 Aug 2014 14:56:16 +0200 Subject: New checks in Cmake --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ce77ab..929fa99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,7 @@ set(GRC_BLOCKS_DIR ${GR_PKG_DATA_DIR}/grc/blocks) ######################################################################## find_package(GnuradioRuntime) find_package(CppUnit) +find_package(Doxygen) # To run a more advanced search for GNU Radio and it's components and # versions, use the following. Add any components required to the list @@ -101,6 +102,15 @@ if(NOT CPPUNIT_FOUND) message(FATAL_ERROR "CppUnit required to compile gsm") endif() +######################################################################## +# Setup doxygen option +######################################################################## +if(DOXYGEN_FOUND) + option(ENABLE_DOXYGEN "Build docs using Doxygen" ON) +else(DOXYGEN_FOUND) + option(ENABLE_DOXYGEN "Build docs using Doxygen" OFF) +endif(DOXYGEN_FOUND) + ######################################################################## # Setup the include and linker paths ######################################################################## -- cgit v1.2.3