Fix for dmd linking on windows based on patch from the CMake guys

This commit is contained in:
flithm 2007-08-28 17:32:40 +00:00
parent 9f330d7998
commit 4dce6b3a41

View file

@ -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")