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 353be7d commit 78de8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ 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: NVHPC v21.7 or newer is required to build MFC.")
endif()
if ((CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 23.0) AND (MAKE_BUILD_TYPE STREQUAL "Debug"))
if ((CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 23.0) AND (MAKE_BUILD_TYPE STREQUAL "Debug") AND (MFC_OpenACC))
message(FATAL_ERROR "${__err_msg}ERROR: NVHPC v23.0 or newer is required to build MFC with GPU and Debug options.")
endif()
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_C_COMPILER_ID STREQUAL "AppleClang")
Expand Down

0 comments on commit 78de8fc

Please sign in to comment.