forked from Lainports/opnsense-ports
18 lines
744 B
Text
18 lines
744 B
Text
--- CMakeLists.txt.orig 2022-08-05 02:02:51 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -3,6 +3,7 @@ option(PTEX_BUILD_SHARED_LIBS "Enable building Ptex sh
|
|
|
|
option(PTEX_BUILD_STATIC_LIBS "Enable building Ptex static libraries" ON)
|
|
option(PTEX_BUILD_SHARED_LIBS "Enable building Ptex shared libraries" ON)
|
|
+option(PTEX_BUILD_DOCS "Enable building Ptex documentation (require Doxygen)" OFF)
|
|
option(PRMAN_15_COMPATIBLE_PTEX "Enable PRMan 15 compatibility" OFF)
|
|
|
|
# The C++ standard can set either through the environment or by specifyign
|
|
@@ -114,5 +115,7 @@ add_subdirectory(src/tests)
|
|
add_subdirectory(src/ptex)
|
|
add_subdirectory(src/utils)
|
|
add_subdirectory(src/tests)
|
|
+if (PTEX_BUILD_DOCS)
|
|
add_subdirectory(src/doc)
|
|
+endif ()
|
|
add_subdirectory(src/build)
|