diff --git a/crlcore/CMakeLists.txt b/crlcore/CMakeLists.txt index 0e6e3515..79f93508 100644 --- a/crlcore/CMakeLists.txt +++ b/crlcore/CMakeLists.txt @@ -42,4 +42,6 @@ add_subdirectory(src) add_subdirectory(python) add_subdirectory(cmake_modules) - add_subdirectory(doc) + if (BUILD_DOC) + add_subdirectory(doc) + endif() diff --git a/hurricane/CMakeLists.txt b/hurricane/CMakeLists.txt index ab937cc7..5c0a31e1 100644 --- a/hurricane/CMakeLists.txt +++ b/hurricane/CMakeLists.txt @@ -34,7 +34,9 @@ add_subdirectory(src) add_subdirectory(cmake_modules) - add_subdirectory(doc) + if (BUILD_DOC) + add_subdirectory(doc) + endif() #add_subdirectory(tests) #enable_testing() diff --git a/oroshi/CMakeLists.txt b/oroshi/CMakeLists.txt index c857cdc4..a41772b0 100644 --- a/oroshi/CMakeLists.txt +++ b/oroshi/CMakeLists.txt @@ -29,4 +29,6 @@ add_subdirectory(python) #add_subdirectory(etc) #add_subdirectory(cmake_modules) - add_subdirectory(doc) + if (BUILD_DOC) + add_subdirectory(doc) + endif() diff --git a/unicorn/CMakeLists.txt b/unicorn/CMakeLists.txt index ed1074d2..8509e672 100644 --- a/unicorn/CMakeLists.txt +++ b/unicorn/CMakeLists.txt @@ -54,4 +54,6 @@ add_subdirectory(src) add_subdirectory(python) add_subdirectory(cmake_modules) - add_subdirectory(doc) + if (BUILD_DOC) + add_subdirectory(doc) + endif()