diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-06 20:14:23 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-06 20:14:23 (GMT) |
commit | 3f532f54897d300e17d35630d3d6ba15a719bd27 (patch) | |
tree | 56b3bf4cc8a4b505a2a5c2460574d5d458962ef6 /Modules/CMakeCInformation.cmake | |
parent | 36080b04bbf07fdecdfaf516949f722a65aa9361 (diff) | |
download | CMake-3f532f54897d300e17d35630d3d6ba15a719bd27.zip CMake-3f532f54897d300e17d35630d3d6ba15a719bd27.tar.gz CMake-3f532f54897d300e17d35630d3d6ba15a719bd27.tar.bz2 |
ENH: add support for language flags at rule expansion time
Diffstat (limited to 'Modules/CMakeCInformation.cmake')
-rw-r--r-- | Modules/CMakeCInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCInformation.cmake b/Modules/CMakeCInformation.cmake index 6f9e995..242d796 100644 --- a/Modules/CMakeCInformation.cmake +++ b/Modules/CMakeCInformation.cmake @@ -86,7 +86,7 @@ INCLUDE(CMakeCommonLanguageInclude) # create a C shared library IF(NOT CMAKE_C_CREATE_SHARED_LIBRARY) SET(CMAKE_C_CREATE_SHARED_LIBRARY - "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <CMAKE_SHARED_LIBRARY_SONAME_C_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") + "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <CMAKE_SHARED_LIBRARY_SONAME_C_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") ENDIF(NOT CMAKE_C_CREATE_SHARED_LIBRARY) # create a C shared module just copy the shared library rule |