Skip to content

Commit

Permalink
Rename IGN_BUILD_DOCS -> BUILD_DOCS
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jan 11, 2021
1 parent 8143cc8 commit bb1c7eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/IgnCreateDocs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function(ign_create_docs)
set(oneValueArgs API_MAINPAGE_MD AUTOGENERATED_DOC TUTORIALS_MAINPAGE_MD)
set(multiValueArgs "TAGFILES" "ADDITIONAL_INPUT_DIRS")

option(IGN_BUILD_DOCS "Build docs" ON)
if (NOT ${IGN_BUILD_DOCS})
message(STATUS "Building Documentation disabled via IGN_BUILD_DOCS")
option(BUILD_DOCS "Build docs" ON)
if (NOT ${BUILD_DOCS})
message(STATUS "Building Documentation disabled via BUILD_DOCS=OFF")
return()
endif()

Expand Down

0 comments on commit bb1c7eb

Please sign in to comment.