diff options
author | Brad King <brad.king@kitware.com> | 2006-03-16 22:07:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-03-16 22:07:36 (GMT) |
commit | dbe7d397381cba4c3f180f39f377b8b7236b679f (patch) | |
tree | 952e5c32276e9949b28ca67bf2a71c830e9faaf6 /Modules | |
parent | f01bd91336979f6c2f8128f906d72cbe4847c68c (diff) | |
download | CMake-dbe7d397381cba4c3f180f39f377b8b7236b679f.zip CMake-dbe7d397381cba4c3f180f39f377b8b7236b679f.tar.gz CMake-dbe7d397381cba4c3f180f39f377b8b7236b679f.tar.bz2 |
BUG: When copying the module variables from shared library variables use double quotes for the required definitions ...PREFIX and ...SUFFIX to make sure a value is set even if it is empty.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeSystemSpecificInformation.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeSystemSpecificInformation.cmake b/Modules/CMakeSystemSpecificInformation.cmake index 95f424c..099c45e 100644 --- a/Modules/CMakeSystemSpecificInformation.cmake +++ b/Modules/CMakeSystemSpecificInformation.cmake @@ -28,8 +28,8 @@ ENDIF(EXISTS ${CMAKE_SYSTEM_INFO_FILE}) # copy the values from the LIBRARY variables # this has to be done after the system information has been loaded 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_PREFIX "${CMAKE_SHARED_LIBRARY_PREFIX}") + SET(CMAKE_SHARED_MODULE_SUFFIX "${CMAKE_SHARED_LIBRARY_SUFFIX}") 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}) |