diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-13 19:51:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-13 19:51:20 (GMT) |
commit | 46ede79d587f86b9ed8126f4d454b36b8fd9b151 (patch) | |
tree | 76b08289b8dba351152a1aca908eb4c3691a275b /Modules/Platform | |
parent | 7b54b22ccd6a681cf50218d4beec325a5a8ddf4e (diff) | |
download | CMake-46ede79d587f86b9ed8126f4d454b36b8fd9b151.zip CMake-46ede79d587f86b9ed8126f4d454b36b8fd9b151.tar.gz CMake-46ede79d587f86b9ed8126f4d454b36b8fd9b151.tar.bz2 |
ENH: use correct run time library for borland
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Windows-bcc32.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake index 97d8ea6..5825881 100644 --- a/Modules/Platform/Windows-bcc32.cmake +++ b/Modules/Platform/Windows-bcc32.cmake @@ -1,9 +1,10 @@ SET(CMAKE_LIBRARY_PATH_FLAG "-L") SET(CMAKE_LINK_LIBRARY_FLAG "") +SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-tWR") # create a shared C++ library SET(CMAKE_CXX_CREATE_SHARED_LIBRARY - "<CMAKE_CXX_COMPILER> @&&|\n-e<TARGET> -tWD <LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>\n|" + "<CMAKE_CXX_COMPILER> @&&|\n-e<TARGET> -tWD -tWR <LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>\n|" "implib @&&|\n-w <TARGET_BASE>.lib <TARGET_BASE>.dll\n|" ) |