[CMake] export_executable_symbols also needs to add -rdynamic to the linker flags...
[oota-llvm.git] / cmake / modules / FindSphinx.cmake
index a2adcae73268c8709f14a76ddfb7a09a20879553..9d252e8b70aef4abf8a8da21eb0248bea53137a6 100644 (file)
@@ -23,3 +23,5 @@ find_package_handle_standard_args(Sphinx
 # Provide options for controlling different types of output
 option(SPHINX_OUTPUT_HTML "Output standalone HTML files" ON)
 option(SPHINX_OUTPUT_MAN "Output man pages" ON)
+
+option(SPHINX_WARNINGS_AS_ERRORS "When building documentation treat warnings as errors" ON)