File tree 12 files changed +48
-0
lines changed
12 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
162
162
set (CLAPACK_C_FLAGS "-fPIC" )
163
163
set (CLAPACK_LINKER_FLAGS "-fPIC" )
164
164
endif ()
165
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
166
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
167
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
168
+ endif ()
165
169
endif ()
166
170
167
171
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
157
157
set (CLAPACK_C_FLAGS "-fPIC" )
158
158
set (CLAPACK_LINKER_FLAGS "-fPIC" )
159
159
endif ()
160
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
161
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
162
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
163
+ endif ()
160
164
endif ()
161
165
162
166
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
157
157
set (CLAPACK_C_FLAGS "-fPIC" )
158
158
set (CLAPACK_LINKER_FLAGS "-fPIC" )
159
159
endif ()
160
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
161
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
162
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
163
+ endif ()
160
164
endif ()
161
165
162
166
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
157
157
set (CLAPACK_C_FLAGS "-fPIC" )
158
158
set (CLAPACK_LINKER_FLAGS "-fPIC" )
159
159
endif ()
160
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
161
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
162
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
163
+ endif ()
160
164
endif ()
161
165
162
166
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
157
157
set (CLAPACK_C_FLAGS "-fPIC" )
158
158
set (CLAPACK_LINKER_FLAGS "-fPIC" )
159
159
endif ()
160
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
161
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
162
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
163
+ endif ()
160
164
endif ()
161
165
162
166
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
135
135
set (CLAPACK_C_FLAGS "-fPIC" )
136
136
set (CLAPACK_LINKER_FLAGS "-fPIC" )
137
137
endif ()
138
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
139
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
140
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
141
+ endif ()
138
142
endif ()
139
143
140
144
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -162,6 +162,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
162
162
set (CLAPACK_C_FLAGS "-fPIC" )
163
163
set (CLAPACK_LINKER_FLAGS "-fPIC" )
164
164
endif ()
165
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
166
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
167
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
168
+ endif ()
165
169
endif ()
166
170
167
171
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
149
149
set (CLAPACK_C_FLAGS "-fPIC" )
150
150
set (CLAPACK_LINKER_FLAGS "-fPIC" )
151
151
endif ()
152
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
153
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
154
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
155
+ endif ()
152
156
endif ()
153
157
154
158
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
93
93
set (CLAPACK_C_FLAGS "-fPIC" )
94
94
set (CLAPACK_LINKER_FLAGS "-fPIC" )
95
95
endif ()
96
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
97
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
98
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
99
+ endif ()
96
100
endif ()
97
101
98
102
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
138
138
set (CLAPACK_C_FLAGS "-fPIC" )
139
139
set (CLAPACK_LINKER_FLAGS "-fPIC" )
140
140
endif ()
141
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
142
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
143
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
144
+ endif ()
141
145
endif ()
142
146
143
147
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -159,6 +159,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
159
159
set (CLAPACK_C_FLAGS "-fPIC" )
160
160
set (CLAPACK_LINKER_FLAGS "-fPIC" )
161
161
endif ()
162
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
163
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
164
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
165
+ endif ()
162
166
endif ()
163
167
164
168
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ if (COIN_ENABLE_DOWNLOAD_CLAPACK)
149
149
set (CLAPACK_C_FLAGS "-fPIC" )
150
150
set (CLAPACK_LINKER_FLAGS "-fPIC" )
151
151
endif ()
152
+ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0" ))
153
+ set (CLAPACK_C_FLAGS "${CLAPACK_C_FLAGS} -Wl,-z,muldefs" )
154
+ set (CLAPACK_LINKER_FLAGS "${CLAPACK_LINKER_FLAGS} -Wl,-z,muldefs" )
155
+ endif ()
152
156
endif ()
153
157
154
158
set (COIN_HAS_LAPACK ON CACHE BOOL "Enable the Lapack support of CoinUtils" FORCE)
You can’t perform that action at this time.
0 commit comments