diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-03 15:47:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-03 15:47:07 (GMT) |
commit | 3873bd62574a857dd18c97836232d2a6963536d1 (patch) | |
tree | eeb90fca23bced9a3fecc6f9b1a6e0f42b48c9b6 /Modules/CMakeDefaultMakeRuleVariables.cmake | |
parent | 30a3d18fe8fdb00c45fb37e7ff783c7ddcaa2115 (diff) | |
download | CMake-3873bd62574a857dd18c97836232d2a6963536d1.zip CMake-3873bd62574a857dd18c97836232d2a6963536d1.tar.gz CMake-3873bd62574a857dd18c97836232d2a6963536d1.tar.bz2 |
correctly place both LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules
Diffstat (limited to 'Modules/CMakeDefaultMakeRuleVariables.cmake')
-rw-r--r-- | Modules/CMakeDefaultMakeRuleVariables.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/CMakeDefaultMakeRuleVariables.cmake b/Modules/CMakeDefaultMakeRuleVariables.cmake index ad208d2..0862a05 100644 --- a/Modules/CMakeDefaultMakeRuleVariables.cmake +++ b/Modules/CMakeDefaultMakeRuleVariables.cmake @@ -27,12 +27,13 @@ # <CMAKE_CXX_COMPILER> # <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> # <CMAKE_CXX_SHARED_MODULE_CREATE_FLAGS> +# <CMAKE_CXX_LINK_FLAGS> # C compiler information # <CMAKE_C_COMPILER> # <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> # <CMAKE_SHARED_MODULE_CREATE_C_FLAGS> - +# <CMAKE_C_LINK_FLAGS> # Static library tools # <CMAKE_AR> @@ -90,11 +91,11 @@ ENDIF(NOT CMAKE_C_COMPILE_OBJECT) IF(NOT CMAKE_C_LINK_EXECUTABLE) SET(CMAKE_C_LINK_EXECUTABLE - "<CMAKE_C_COMPILER> <LINK_FLAGS> <FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") + "<CMAKE_C_COMPILER> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") ENDIF(NOT CMAKE_C_LINK_EXECUTABLE) IF(NOT CMAKE_CXX_LINK_EXECUTABLE) SET(CMAKE_CXX_LINK_EXECUTABLE - "<CMAKE_CXX_COMPILER> <LINK_FLAGS> <FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") + "<CMAKE_CXX_COMPILER> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") ENDIF(NOT CMAKE_CXX_LINK_EXECUTABLE) |