aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-25 12:29:07 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-25 12:29:07 +0200
commit74bbcf7e29b0fbfc7ebb141960c7dda002b917d6 (patch)
treee46e602d353f21596facae995d9028eadb0fa988 /cmake/Modules
parent26c118890f316f81a9aad81f662d3d07aba1bd97 (diff)
downloadlibssh-74bbcf7e29b0fbfc7ebb141960c7dda002b917d6.tar.gz
libssh-74bbcf7e29b0fbfc7ebb141960c7dda002b917d6.tar.xz
libssh-74bbcf7e29b0fbfc7ebb141960c7dda002b917d6.zip
doc: Don't generate latex documentation.
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/UseDoxygen.cmake42
1 files changed, 21 insertions, 21 deletions
diff --git a/cmake/Modules/UseDoxygen.cmake b/cmake/Modules/UseDoxygen.cmake
index c4ab7ccc..861afa51 100644
--- a/cmake/Modules/UseDoxygen.cmake
+++ b/cmake/Modules/UseDoxygen.cmake
@@ -63,27 +63,27 @@ if(DOXYGEN_FOUND AND DOXYFILE_IN_FOUND)
set(DOXYFILE_PDFLATEX FALSE)
set(DOXYFILE_DOT FALSE)
- find_package(LATEX)
- if(LATEX_COMPILER AND MAKEINDEX_COMPILER)
- set(DOXYFILE_LATEX TRUE)
- usedoxygen_set_default(DOXYFILE_LATEX_DIR "latex")
-
- set_property(DIRECTORY APPEND PROPERTY
- ADDITIONAL_MAKE_CLEAN_FILES
- "${DOXYFILE_OUTPUT_DIR}/${DOXYFILE_LATEX_DIR}")
-
- if(PDFLATEX_COMPILER)
- set(DOXYFILE_PDFLATEX TRUE)
- endif()
- if(DOXYGEN_DOT_EXECUTABLE)
- set(DOXYFILE_DOT TRUE)
- endif()
-
- add_custom_command(TARGET doxygen
- POST_BUILD
- COMMAND ${CMAKE_MAKE_PROGRAM}
- WORKING_DIRECTORY "${DOXYFILE_OUTPUT_DIR}/${DOXYFILE_LATEX_DIR}")
- endif()
+ #find_package(LATEX)
+ #if(LATEX_COMPILER AND MAKEINDEX_COMPILER)
+ # set(DOXYFILE_LATEX TRUE)
+ # usedoxygen_set_default(DOXYFILE_LATEX_DIR "latex")
+ #
+ # set_property(DIRECTORY APPEND PROPERTY
+ # ADDITIONAL_MAKE_CLEAN_FILES
+ # "${DOXYFILE_OUTPUT_DIR}/${DOXYFILE_LATEX_DIR}")
+ #
+ # if(PDFLATEX_COMPILER)
+ # set(DOXYFILE_PDFLATEX TRUE)
+ # endif()
+ # if(DOXYGEN_DOT_EXECUTABLE)
+ # set(DOXYFILE_DOT TRUE)
+ # endif()
+ #
+ # add_custom_command(TARGET doxygen
+ # POST_BUILD
+ # COMMAND ${CMAKE_MAKE_PROGRAM}
+ # WORKING_DIRECTORY "${DOXYFILE_OUTPUT_DIR}/${DOXYFILE_LATEX_DIR}")
+ #endif()
configure_file(${DOXYFILE_IN} ${CMAKE_CURRENT_BINARY_DIR}/doxy.config ESCAPE_QUOTES IMMEDIATE @ONLY)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/doxy.trac.in)