projects
/
platform
/
upstream
/
lapack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5962da
)
Fix linking problem C and Fortran with Sun Compilers on Linux machine
author
julie
<julielangou@users.noreply.github.com>
Tue, 20 Dec 2011 04:45:12 +0000
(
04:45
+0000)
committer
julie
<julielangou@users.noreply.github.com>
Tue, 20 Dec 2011 04:45:12 +0000
(
04:45
+0000)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 3da538bf090b590ae64bf909d044db6307ae0523..355865aac988a204f557df80d06a920ae1dc21e5 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-15,6
+15,9
@@
if (UNIX)
if ( "${CMAKE_Fortran_COMPILER}" MATCHES "ifort" )
set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fltconsistency -fp_port" )
endif ()
+# Delete libmtsk in linking sequence for Sun/Oracle Fortran Compiler.
+# This library is not present in the Sun package SolarisStudio13.3-linux-x86-bin
+ STRING(REPLACE \;mtsk\; \; CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES}")
endif ()