File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,18 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
24
24
message (STATUS "Configuring to build with -coarray=single" )
25
25
if (WIN32 )
26
26
add_compile_options ("$<$<COMPILE_LANGUAGE:Fortran>:/Qcoarray:single>" )
27
+ add_link_options ("$<$<COMPILE_LANGUAGE:Fortran>:/Qcoarray:single>" )
27
28
else ()
28
29
add_compile_options ("$<$<COMPILE_LANGUAGE:Fortran>:-coarray=single>" )
30
+ add_link_options ("$<$<COMPILE_LANGUAGE:Fortran>:-coarray=single>" )
29
31
endif ()
30
32
else ()
31
33
if (WIN32 )
32
34
add_compile_options ("$<$<COMPILE_LANGUAGE:Fortran>:/Qcoarray:shared>" )
35
+ add_link_options ("$<$<COMPILE_LANGUAGE:Fortran>:/Qcoarray:shared>" )
33
36
else ()
34
37
add_compile_options ("$<$<COMPILE_LANGUAGE:Fortran>:-coarray=shared>" )
38
+ add_link_options ("$<$<COMPILE_LANGUAGE:Fortran>:-coarray=shared>" )
35
39
endif ()
36
40
endif ()
37
41
You can’t perform that action at this time.
0 commit comments