BUG: fix for borland and a shared CMakeLib

This commit is contained in:
Bill Hoffman 2002-08-22 17:06:05 -04:00
parent faf4b68ca9
commit 40cf734152
3 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,9 @@
#
PROJECT (Complex)
# For borland since CMakeLib is a dll all .cxx files have
# to be compiled with -tWR to get the dll version of the borland
# standard library
IF(BORLAND)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")

View File

@ -3,6 +3,9 @@
#
PROJECT (Complex)
# For borland since CMakeLib is a dll all .cxx files have
# to be compiled with -tWR to get the dll version of the borland
# standard library
IF(BORLAND)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")

View File

@ -3,6 +3,9 @@
#
PROJECT (Complex)
# For borland since CMakeLib is a dll all .cxx files have
# to be compiled with -tWR to get the dll version of the borland
# standard library
IF(BORLAND)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")