BUG: fix for borland and a shared CMakeLib
This commit is contained in:
parent
faf4b68ca9
commit
40cf734152
|
@ -3,6 +3,9 @@
|
||||||
#
|
#
|
||||||
PROJECT (Complex)
|
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)
|
IF(BORLAND)
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
||||||
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
#
|
#
|
||||||
PROJECT (Complex)
|
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)
|
IF(BORLAND)
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
||||||
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
#
|
#
|
||||||
PROJECT (Complex)
|
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)
|
IF(BORLAND)
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
||||||
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
||||||
|
|
Loading…
Reference in New Issue