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 )
|
add_subdirectory( Installation )
|
||||||
|
|
||||||
# for releases, where dont_submit is honored
|
# for releases, where dont_submit is honored
|
||||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Documentation")
|
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Documentation/doc")
|
||||||
option(BUILD_DOC "Build the doxygen documentation" OFF)
|
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/Documentation/doc")
|
||||||
if (BUILD_DOC)
|
|
||||||
add_subdirectory( "${CMAKE_CURRENT_SOURCE_DIR}/Documentation" )
|
|
||||||
endif(BUILD_DOC)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue