BUG: fix for borland and a shared CMakeLib
This commit is contained in:
parent
0fdfab32d1
commit
faf4b68ca9
|
@ -3,6 +3,11 @@
|
|||
#
|
||||
PROJECT (Complex)
|
||||
|
||||
IF(BORLAND)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
||||
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
||||
ENDIF(BORLAND)
|
||||
|
||||
#
|
||||
# Define a macro
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@ IF(WIN32)
|
|||
IF (CMAKE_DLL)
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_DLL}
|
||||
${Complex_BINARY_DIR}/CMakeLib.dll COPYONLY)
|
||||
${Complex_BINARY_DIR}/bin/CMakeLib.dll COPYONLY)
|
||||
ENDIF (CMAKE_DLL)
|
||||
ENDIF (WIN32)
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
#
|
||||
PROJECT (Complex)
|
||||
|
||||
IF(BORLAND)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
||||
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
||||
ENDIF(BORLAND)
|
||||
|
||||
#
|
||||
# Define a macro
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@ IF(WIN32)
|
|||
IF (CMAKE_DLL)
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_DLL}
|
||||
${Complex_BINARY_DIR}/CMakeLib.dll COPYONLY)
|
||||
${Complex_BINARY_DIR}/bin/CMakeLib.dll COPYONLY)
|
||||
ENDIF (CMAKE_DLL)
|
||||
ENDIF (WIN32)
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
#
|
||||
PROJECT (Complex)
|
||||
|
||||
IF(BORLAND)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
|
||||
SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
|
||||
ENDIF(BORLAND)
|
||||
|
||||
#
|
||||
# Define a macro
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@ IF(WIN32)
|
|||
IF (CMAKE_DLL)
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_DLL}
|
||||
${Complex_BINARY_DIR}/CMakeLib.dll COPYONLY)
|
||||
${Complex_BINARY_DIR}/bin/CMakeLib.dll COPYONLY)
|
||||
ENDIF (CMAKE_DLL)
|
||||
ENDIF (WIN32)
|
||||
|
||||
|
|
Loading…
Reference in New Issue