Commit 19569d8e authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Tomáš Oberhuber
Browse files

CMake: fixed building of examples for tutorials

parent b6491b23
Loading
Loading
Loading
Loading
+14 −10
Original line number Diff line number Diff line
@@ -316,17 +316,21 @@ LINK_DIRECTORIES( ${LIBRARY_OUTPUT_PATH} )
add_subdirectory( src )
add_subdirectory( share )

# FIXME !!!
#Check for Doxygen
if( ${WITH_DOC} )
    find_package(Doxygen)
    if( DOXYGEN_FOUND )
        if( CMAKE_BUILD_TYPE MATCHES "Release" )
#if( ${WITH_DOC} )
#    find_package(Doxygen)
#    if( DOXYGEN_FOUND )
#        if( CMAKE_BUILD_TYPE MATCHES "Release" )
#            add_subdirectory( Documentation/Tutorials )
#        endif( CMAKE_BUILD_TYPE MATCHES "Release" )
#    else( DOXYGEN_FOUND )
#        message("Doxygen need to be installed to generate the doxygen documentation")
#    endif( DOXYGEN_FOUND )
#endif( ${WITH_DOC} )
if( ${WITH_EXAMPLES} )
    add_subdirectory( Documentation/Tutorials )
        endif( CMAKE_BUILD_TYPE MATCHES "Release" )
    else( DOXYGEN_FOUND )
        message("Doxygen need to be installed to generate the doxygen documentation")
    endif( DOXYGEN_FOUND )
endif( ${WITH_DOC} )
endif()

set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Template Numerical Library")
set(CPACK_PACKAGE_VENDOR "MMG")