Commit 0a730ce1 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Allowing Fortran to be enabled at configuration time.

parent cbebec37
Pipeline #19997 failed with stages
in 10 minutes and 59 seconds
......@@ -64,8 +64,10 @@ MACRO(TRIBITS_REPOSITORY_SETUP_EXTRA_OPTIONS)
IF(NOT "$ENV{${PROJECT_NAME}_ENABLE_Fortran}" STREQUAL "" )
SET(${PROJECT_NAME}_ENABLE_Fortran $ENV{${PROJECT_NAME}_ENABLE_Fortran})
ELSE()
# ensure fortran compiler is set on
SET(${PROJECT_NAME}_ENABLE_Fortran OFF CACHE BOOL "" FORCE)
# allow fortran compiler to be set on
IF(NOT ${PROJECT_NAME}_ENABLE_Fortran)
SET(${PROJECT_NAME}_ENABLE_Fortran OFF CACHE BOOL "" FORCE)
ENDIF()
ENDIF()
# Set up radix cmake directory, used by default option scripts
SET(radix_CMAKE_DIR "${radix_SOURCE_DIR}/cmake" CACHE PATH "")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment