File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ macro(CheckLAPACKCompilerFlags)
18
18
if (WIN32 )
19
19
set (FOPT_ILP64 /integer-size:64 )
20
20
else ()
21
- set (FOPT_ILP64 "-integer-size 64" )
21
+ set (FOPT_ILP64 "SHELL: -integer-size 64" )
22
22
endif ()
23
23
elseif ((CMAKE_Fortran_COMPILER_ID STREQUAL "VisualAge" ) OR # CMake 2.6
24
24
(CMAKE_Fortran_COMPILER_ID STREQUAL "XL" )) # CMake 2.8
@@ -61,7 +61,7 @@ macro(CheckLAPACKCompilerFlags)
61
61
62
62
add_compile_options ("$<$<COMPILE_LANGUAGE:Fortran>:-recursive>" )
63
63
if (UNIX )
64
- add_compile_options ("$<$<COMPILE_LANGUAGE:Fortran>:-fp-model strict>" )
64
+ add_compile_options ("$<$<COMPILE_LANGUAGE:Fortran>:SHELL: -fp-model strict>" )
65
65
endif ()
66
66
67
67
# SunPro F95
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ if(BUILD_INDEX64_EXT_API)
74
74
endforeach ()
75
75
file (COPY matgen_64.h DESTINATION ${CMAKE_CURRENT_BINARY_DIR} /${TMGLIB}_64_obj )
76
76
add_library (${TMGLIB} _64_obj OBJECT ${SOURCES_64} )
77
- target_compile_options (${TMGLIB} _64_obj PRIVATE ${FOPT_ILP64} -DMATGEN_64 )
77
+ target_compile_options (${TMGLIB} _64_obj PRIVATE " ${FOPT_ILP64} " -DMATGEN_64 )
78
78
set_target_properties (
79
79
${TMGLIB} _64_obj PROPERTIES
80
80
POSITION_INDEPENDENT_CODE ON
You can’t perform that action at this time.
0 commit comments