Skip to content

Commit 2eaf285

Browse files
committed
Use F_COMPILER name
1 parent a8b1705 commit 2eaf285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/system.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ if (NEED_PIC)
382382
if (NOT NOFORTRAN)
383383
if (${F_COMPILER} STREQUAL "SUN")
384384
set(FCOMMON_OPT "${FCOMMON_OPT} -pic")
385-
elseif (${F_COMPILER} STREQUAL "NAG")
385+
elseif (${F_COMPILER} STREQUAL "NAGFOR")
386386
set(FCOMMON_OPT "${FCOMMON_OPT} -PIC")
387387
else ()
388388
set(FCOMMON_OPT "${FCOMMON_OPT} -fPIC")

0 commit comments

Comments
 (0)