From 131d8205f546ac410ba67d91a8412f588e7798c2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 4 Oct 2006 10:54:53 -0400 Subject: BUG: fix for bug# 3584 missing SONAME for fortran on darwin --- Modules/Platform/Darwin.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Modules') diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index 884690a451..4ec3364786 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -45,6 +45,7 @@ IF(NOT XCODE) # soname computation. SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name") SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-install_name") + SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-install_name") ENDIF(NOT XCODE) SET(CMAKE_MacOSX_Content_COMPILE_OBJECT "\"${CMAKE_COMMAND}\" -E copy_if_different ") @@ -55,6 +56,8 @@ SET(CMAKE_C_CREATE_SHARED_LIBRARY " -o -install_name ") SET(CMAKE_CXX_CREATE_SHARED_LIBRARY " -o -install_name ") +SET(CMAKE_Fortran_CREATE_SHARED_LIBRARY + " -o -install_name ") SET(CMAKE_CXX_CREATE_SHARED_MODULE " -o ") @@ -62,7 +65,11 @@ SET(CMAKE_CXX_CREATE_SHARED_MODULE SET(CMAKE_C_CREATE_SHARED_MODULE " -o ") +SET(CMAKE_Fortran_CREATE_SHARED_MODULE + " -o ") + + SET(CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES /usr/local/include) # default to searching for frameworks first SET(CMAKE_FIND_FRAMEWORK FIRST) -- cgit v1.2.1