File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ option(FINUFFT_BUILD_DEVEL "Whether to build development executables" OFF)
2323option (FINUFFT_BUILD_EXAMPLES "Whether to build the FINUFFT examples" OFF )
2424option (FINUFFT_BUILD_TESTS "Whether to build the FINUFFT tests" OFF )
2525option (FINUFFT_USE_DUCC0 "Whether to use DUCC0 (instead of FFTW) for CPU FFTs" OFF )
26+ option (FINUFFT_BUILD_DOCS "Whether to build the FINUFFT documentation" OFF )
2627# if FINUFFT_USE_DUCC0 is ON, the following options are ignored
2728set (FINUFFT_FFTW_LIBRARIES "DEFAULT" CACHE STRING "Specify a custom FFTW library" )
2829set (FINUFFT_FFTW_SUFFIX "OpenMP" CACHE STRING "Suffix for FFTW libraries (e.g. OpenMP, Threads etc.)" )
@@ -144,7 +145,9 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
144145 if (FINUFFT_BUILD_TESTS)
145146 enable_testing ()
146147 endif ()
147- include (cmake/setupSphinx.cmake)
148+ if (FINUFFT_BUILD_DOCS)
149+ include (cmake/setupSphinx.cmake)
150+ endif ()
148151endif ()
149152
150153if (FINUFFT_USE_CPU)
You can’t perform that action at this time.
0 commit comments