Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryngelson authored Nov 22, 2023
1 parent 53d3b3b commit 3179331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ elseif ((CMAKE_Fortran_COMPILER_ID STREQUAL "NVHPC") OR (CMAKE_Fortran_COMPILER_
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 21.7)
message(FATAL_ERROR "${__err_msg}ERROR: When using NVHPC, v21.7 or newer is required to build MFC.")
endif()
if (MAKE_BUILD_TYPE STREQUAL "Debug"))
if (MAKE_BUILD_TYPE STREQUAL "Debug")
if (MFC_OpenACC)
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 23.0))
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 23.0)
message(FATAL_ERROR "${__err_msg}ERROR: When using NVHPC, v23.0 or newer is required to build MFC with Debug and GPU options.")
endif()
else()
Expand Down

0 comments on commit 3179331

Please sign in to comment.