diff options
author | Tom Rondeau <trondeau@vt.edu> | 2011-12-11 12:27:14 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2011-12-11 12:27:14 -0500 |
commit | 90c6010d0f790af8a652213ffc1ee8db1cfb9b6d (patch) | |
tree | 5fa8d42bbab1d156c5a3ec88c5e5ebe643fcbffa /cmake | |
parent | ad88ab0f401c716699860b8c9deecbf5862a6993 (diff) |
docs: if DOXYGEN_ENABLE is false, don't build the swigdocs, either.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrSwig.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/Modules/GrSwig.cmake b/cmake/Modules/GrSwig.cmake index 47e18085bc..b8aa488aab 100644 --- a/cmake/Modules/GrSwig.cmake +++ b/cmake/Modules/GrSwig.cmake @@ -33,8 +33,7 @@ include(GrPython) # - GR_SWIG_DOCS_TARGET_DEPS ######################################################################## function(GR_SWIG_MAKE_DOCS output_file) - find_package(Doxygen) - if(DOXYGEN_FOUND) + if(ENABLE_DOXYGEN) #setup the input files variable list, quote formated set(input_files) |