mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
NAG-Fortran: Fix MODULE library creation on Apple platforms
Previously we passed `-bundle` to the NAG Fortran front-end, which does not support it. Pass it through to the linker instead.
This commit is contained in:
committed by
Brad King
parent
e056006116
commit
91bb8dd872
@@ -9,6 +9,7 @@ set(CMAKE_Fortran_COMPILE_OBJECT
|
||||
|
||||
set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-Wl,-compatibility_version -Wl,")
|
||||
set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-Wl,-current_version -Wl,")
|
||||
set(CMAKE_SHARED_MODULE_CREATE_Fortran_FLAGS "-Wl,-bundle")
|
||||
set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-Wl,-shared")
|
||||
set(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-install_name -Wl,")
|
||||
set(CMAKE_Fortran_CREATE_SHARED_LIBRARY
|
||||
|
||||
Reference in New Issue
Block a user