Skip to content

Commit

Permalink
Use F_COMPILER name
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Dec 4, 2024
1 parent a8b1705 commit 2eaf285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/system.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ if (NEED_PIC)
if (NOT NOFORTRAN)
if (${F_COMPILER} STREQUAL "SUN")
set(FCOMMON_OPT "${FCOMMON_OPT} -pic")
elseif (${F_COMPILER} STREQUAL "NAG")
elseif (${F_COMPILER} STREQUAL "NAGFOR")
set(FCOMMON_OPT "${FCOMMON_OPT} -PIC")
else ()
set(FCOMMON_OPT "${FCOMMON_OPT} -fPIC")
Expand Down

0 comments on commit 2eaf285

Please sign in to comment.