Commit fec9e9ff authored by Thomas Eschenbacher's avatar Thomas Eschenbacher
Browse files

(minor cleanup in CMakeLists.txt)

parent 1690a345
......@@ -90,16 +90,9 @@ SET(ECM_MIN_VERSION "1.7.0")
SET(QT_MIN_VERSION "5.14.0")
SET(KF5_MIN_VERSION "5.33.0")
#############################################################################
### path to additional cmake modules and includes ###
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
#############################################################################
### Kwave version number ###
INCLUDE(FindRequiredProgram)
FIND_REQUIRED_PROGRAM(CAT_EXECUTABLE cat)
SET(KWAVE_VERSION_MAJOR ${RELEASE_SERVICE_VERSION_MAJOR})
SET(KWAVE_VERSION_MINOR ${RELEASE_SERVICE_VERSION_MINOR})
SET(KWAVE_VERSION_MICRO ${RELEASE_SERVICE_VERSION_MICRO})
......@@ -161,6 +154,11 @@ ELSE (WITH_OPTIMIZED_MEMCPY)
MESSAGE(STATUS "Platform specific memcpy is disabled")
ENDIF (WITH_OPTIMIZED_MEMCPY)
#############################################################################
### path to additional cmake modules and includes ###
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
#############################################################################
### cmake includes ###
......@@ -170,6 +168,7 @@ INCLUDE(CheckCCompilerFlag)
INCLUDE(CheckCXXCompilerFlag)
INCLUDE(CheckTypeSize)
INCLUDE(CheckFunctionExists)
INCLUDE(FindRequiredProgram)
#############################################################################
### toplevel compiler flags ###
......@@ -433,6 +432,7 @@ CONFIGURE_FILE(
### "make apidoc" ###
FIND_PROGRAM(DOXYGEN_EXECUTABLE doxygen)
FIND_REQUIRED_PROGRAM(CAT_EXECUTABLE cat)
IF (DOXYGEN_EXECUTABLE)
SET(DOXYFILE ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment