Skip to content

Commit

Permalink
Merge pull request #8 from izvolov/correct-language-option-#7
Browse files Browse the repository at this point in the history
Корректная установка языка документации
closes #7
  • Loading branch information
izvolov committed May 11, 2020
2 parents ac7713f + a8dff19 commit b1dd9f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 ()

0 comments on commit b1dd9f7

Please sign in to comment.