Skip to content

Commit

Permalink
Adds options to cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdiazangulo committed Dec 20, 2023
1 parent 481d793 commit 9eaa63f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ set_target_properties ( ${LIB_NAME}
# Build the documentation with FORD
#-------------------------------------
if (JSONFORTRAN_ENABLE_DOC_GENERATION)
set(SKIP_DOC_GEN FALSE)
set(SKIP_DOC_GEN FALSE CACHE BOOL "Disable building the API documentation with FORD")
else ()
set(SKIP_DOC_GEN TRUE CACHE BOOL "Disable building the API documentation with FORD" )
endif ()

set ( SKIP_DOC_GEN FALSE CACHE BOOL
"Disable building the API documentation with FORD" )
if ( NOT SKIP_DOC_GEN )
find_program ( FORD ford )
if ( FORD ) # Found
Expand Down Expand Up @@ -314,10 +314,10 @@ endif ()
# Handle test related stuff
#--------------------------
if (JSONFORTRAN_ENABLE_TESTS)
set (ENABLE_TESTS FALSE)
set ( ENABLE_TESTS TRUE CACHE BOOL "Enable the JSON-Fortran tests." )
else ()
set ( ENABLE_TESTS FALSE CACHE BOOL "Enable the JSON-Fortran tests." )
endif ()
set ( ENABLE_TESTS TRUE CACHE BOOL
"Enable the JSON-Fortran tests." )

#---------------------------------------------------------------------
# Add some tests to ensure that the software is performing as expected
Expand Down

0 comments on commit 9eaa63f

Please sign in to comment.