From e63ea0a6d25c203a896972efa330e5c271fa119b Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 24 Sep 2004 14:37:58 -0400 Subject: BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS --- Modules/CMakeCXXInformation.cmake | 2 +- Modules/CMakeFortranInformation.cmake | 2 +- Modules/CMakeSystemSpecificInformation.cmake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/CMakeCXXInformation.cmake b/Modules/CMakeCXXInformation.cmake index 293921e..16a010f 100644 --- a/Modules/CMakeCXXInformation.cmake +++ b/Modules/CMakeCXXInformation.cmake @@ -59,7 +59,7 @@ IF(NOT CMAKE_SHARED_MODULE_CXX_FLAGS) ENDIF(NOT CMAKE_SHARED_MODULE_CXX_FLAGS) IF(NOT CMAKE_SHARED_MODULE_LINK_CXX_FLAGS) - SET(CMAKE_SHARED_MODULE_LINK_CXX_FLAGS ${CMAKE_SHARED_MODULE_LINK_FLAGS}) + SET(CMAKE_SHARED_MODULE_LINK_CXX_FLAGS ${CMAKE_SHARED_MODULE_LINK_C_FLAGS}) ENDIF(NOT CMAKE_SHARED_MODULE_LINK_CXX_FLAGS) IF(NOT CMAKE_SHARED_MODULE_RUNTIME_CXX_FLAG) diff --git a/Modules/CMakeFortranInformation.cmake b/Modules/CMakeFortranInformation.cmake index 8e6b205..9b4d4c0 100644 --- a/Modules/CMakeFortranInformation.cmake +++ b/Modules/CMakeFortranInformation.cmake @@ -45,7 +45,7 @@ IF(NOT CMAKE_SHARED_MODULE_Fortran_FLAGS) ENDIF(NOT CMAKE_SHARED_MODULE_Fortran_FLAGS) IF(NOT CMAKE_SHARED_MODULE_LINK_Fortran_FLAGS) - SET(CMAKE_SHARED_MODULE_LINK_Fortran_FLAGS ${CMAKE_SHARED_MODULE_LINK_FLAGS}) + SET(CMAKE_SHARED_MODULE_LINK_Fortran_FLAGS ${CMAKE_SHARED_MODULE_LINK_C_FLAGS}) ENDIF(NOT CMAKE_SHARED_MODULE_LINK_Fortran_FLAGS) IF(NOT CMAKE_SHARED_MODULE_RUNTIME_Fortran_FLAG) diff --git a/Modules/CMakeSystemSpecificInformation.cmake b/Modules/CMakeSystemSpecificInformation.cmake index 951cc86..199232d 100644 --- a/Modules/CMakeSystemSpecificInformation.cmake +++ b/Modules/CMakeSystemSpecificInformation.cmake @@ -29,7 +29,7 @@ ENDIF(EXISTS ${CMAKE_SYSTEM_INFO_FILE}) IF(NOT CMAKE_MODULE_EXISTS) SET(CMAKE_SHARED_MODULE_PREFIX ${CMAKE_SHARED_LIBRARY_PREFIX}) SET(CMAKE_SHARED_MODULE_SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX}) - SET(CMAKE_SHARED_MODULE_LINK_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS}) + SET(CMAKE_SHARED_MODULE_LINK_C_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS}) SET(CMAKE_SHARED_MODULE_RUNTIME_C_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG}) SET(CMAKE_SHARED_MODULE_RUNTIME_C_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP}) ENDIF(NOT CMAKE_MODULE_EXISTS) -- cgit v0.12