Fix for dmd linking on windows based on patch from the CMake guys
This commit is contained in:
parent
9f330d7998
commit
4dce6b3a41
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ ELSE(CMAKE_COMPILER_IS_GDC)
|
|||
SET(CMAKE_INCLUDE_FLAG_D_SEP "") # , or empty
|
||||
SET(CMAKE_LINK_LIBRARY_FLAG "-L+")
|
||||
SET(CMAKE_LIBRARY_PATH_FLAG "-L+")
|
||||
SET(CMAKE_LIBRARY_PATH_TERMINATOR "\\")
|
||||
FIND_PROGRAM(DMD_LIBRARIAN "lib.exe")
|
||||
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
||||
SET(CMAKE_SHARED_LIBRARY_D_FLAGS "-fPIC")
|
||||
|
|
Loading…
Add table
Reference in a new issue