COIN-OR::LEMON - Graph Library

Ticket #455: 455-1-7780b04325d4.patch

File 455-1-7780b04325d4.patch, 1.4 KB (added by Alpar Juttner, 12 years ago)
  • doc/CMakeLists.txt

    # HG changeset patch
    # User Alpar Juttner <alpar@cs.elte.hu>
    # Date 1355927832 -3600
    # Node ID 7780b04325d484e8966b1b3f4a9991264c6a51d4
    # Parent  9a6c9d4ee77b8b5f529e525e2539b9317faecdd0
    Fix 'make update-external-tags' behavior
    
    diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
    a b  
    44SET(abs_top_builddir ${PROJECT_BINARY_DIR})
    55
    66SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).")
     7SET(LEMON_DOC_USE_MATHJAX "NO" CACHE STRING "Use MathJax to display math formulae (YES/NO).")
     8SET(LEMON_DOC_MATHJAX_RELPATH "http://www.mathjax.org/mathjax" CACHE STRING "MathJax library location.")
    79
    810CONFIGURE_FILE(
    911  ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
     
    7274
    7375IF(WGET_FOUND)
    7476ADD_CUSTOM_TARGET(update-external-tags
    75   COMMAND ${CMAKE_COMMAND} -E make_directory dl
    76   # COMMAND ${CMAKE_COMMAND} -E copy libstdc++.tag dl
    77   COMMAND ${WGET_EXECUTABLE} wget -P dl -N libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag
    78   COMMAND ${CMAKE_COMMAND} -E rename dl/libstdc++.tag libstdc++.tag
    79   COMMAND ${CMAKE_COMMAND} -E remove dl/libstdc++.tag
    80   COMMAND ${CMAKE_COMMAND} -E remove_directory dl
     77  COMMAND ${WGET_EXECUTABLE} -N http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag
    8178  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    8279  )
    8380ENDIF()