File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,11 @@ set_target_properties ( ${LIB_NAME}
236
236
# Build the documentation with FORD
237
237
#-------------------------------------
238
238
if (JSONFORTRAN_ENABLE_DOC_GENERATION )
239
- set (SKIP_DOC_GEN FALSE )
239
+ set (SKIP_DOC_GEN FALSE CACHE BOOL "Disable building the API documentation with FORD" )
240
+ else ()
241
+ set (SKIP_DOC_GEN TRUE CACHE BOOL "Disable building the API documentation with FORD" )
240
242
endif ()
241
243
242
- set ( SKIP_DOC_GEN FALSE CACHE BOOL
243
- "Disable building the API documentation with FORD" )
244
244
if ( NOT SKIP_DOC_GEN )
245
245
find_program ( FORD ford )
246
246
if ( FORD ) # Found
@@ -314,10 +314,10 @@ endif ()
314
314
# Handle test related stuff
315
315
#--------------------------
316
316
if (JSONFORTRAN_ENABLE_TESTS )
317
- set (ENABLE_TESTS FALSE )
317
+ set ( ENABLE_TESTS TRUE CACHE BOOL "Enable the JSON-Fortran tests." )
318
+ else ()
319
+ set ( ENABLE_TESTS FALSE CACHE BOOL "Enable the JSON-Fortran tests." )
318
320
endif ()
319
- set ( ENABLE_TESTS TRUE CACHE BOOL
320
- "Enable the JSON-Fortran tests." )
321
321
322
322
#---------------------------------------------------------------------
323
323
# Add some tests to ensure that the software is performing as expected
You can’t perform that action at this time.
0 commit comments