ENH: use correct run time library for borland
This commit is contained in:
parent
7b54b22ccd
commit
46ede79d58
|
@ -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|"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue