aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0fb4f2..ec3dd04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,8 +41,8 @@ add_subdirectory(conf)
if(OUTPUT_DOXGEN_DOC)
find_package(Doxygen)
- configure_file(${CMAKE_SOURCE_DIR}/PluginRoutingAdapterALSA/doc/PluginRoutingAdapterALSA.doxyfile ${CMAKE_CURRENT_BINARY_DIR}/doc/Doxyfile)
add_custom_target (PluginRoutingAdapterALSADoku ALL
COMMAND cd ${CMAKE_SOURCE_DIR}/doc/api-ref
- COMMAND ${DOXYGEN_EXECUTABLE} ${DOC_OUTPUT_PATH}/Doxyfile WORKING_DIRECTORY ${DOC_OUTPUT_PATH} ${CMAKE_SOURCE_DIR}/PluginRoutingAdapterALSA ${DOC_OUTPUT_PATH}/Doxyfile
-endif(WITH_DOCUMENTATION)
+ COMMAND doxygen ${CMAKE_SOURCE_DIR}/doc/api-ref/Doxyfile WORKING_DIRECTORY ${DOC_OUTPUT_PATH} ${CMAKE_SOURCE_DIR}/PluginRoutingAdapterALSA ${DOC_OUTPUT_PATH}/Doxyfile
+ )
+endif()