mirror of https://github.com/CGAL/cgal
Move Documentation/CMakeLists.txt
The only sensible place to have it in a release is doc/ so we have to move it into the subdirectory here.
This commit is contained in:
parent
73c22aca20
commit
7fec5e2014
|
|
@ -20,9 +20,6 @@ message( "== CMake setup (DONE) ==\n" )
|
|||
add_subdirectory( Installation )
|
||||
|
||||
# for releases, where dont_submit is honored
|
||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Documentation")
|
||||
option(BUILD_DOC "Build the doxygen documentation" OFF)
|
||||
if (BUILD_DOC)
|
||||
add_subdirectory( "${CMAKE_CURRENT_SOURCE_DIR}/Documentation" )
|
||||
endif(BUILD_DOC)
|
||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Documentation/doc")
|
||||
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/Documentation/doc")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue