diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index aa7a1cd..96af7e8 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,9 +1,9 @@ find_package(Doxygen) if (Doxygen_FOUND) - if (NOT MYLIB_DOXYGEN_LANGUAGE) - set(MYLIB_DOXYGEN_LANGUAGE Russian) + if (NOT DOXYGEN_OUTPUT_LANGUAGE) + set(DOXYGEN_OUTPUT_LANGUAGE Russian) endif() - message(STATUS "Doxygen documentation will be generated in ${MYLIB_DOXYGEN_LANGUAGE}") + message(STATUS "Doxygen documentation will be generated in ${DOXYGEN_OUTPUT_LANGUAGE}") configure_file(Doxyfile.in Doxyfile) add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) endif ()