From: Pierre Habouzit Date: Sat, 17 Nov 2007 22:56:56 +0000 (+0100) Subject: prepare easy use of D. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=89e459463869dea2f0d996491b509ad8201d97f4;p=apps%2Fmadmutt.git prepare easy use of D. Signed-off-by: Pierre Habouzit --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2faf161..f7c6642 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,6 @@ if (NOT CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_USE_TANGO) set(CMAKE_D_USE_PHOBOS True) endif (NOT CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_USE_TANGO) -INCLUDE(CMakeDetermineCCompiler) include(Cpkg2c) include(XConfig) @@ -330,7 +329,10 @@ MADMUTT_SOURCES(madmuttsrc madmuttgen STRING(REGEX REPLACE ";" " " MUTTLIBS "${MUTTLIBS}") ADD_EXECUTABLE(madmutt ${madmuttsrc}) TARGET_LINK_LIBRARIES(madmutt mime sys mx lua ui imap lib) -SET_TARGET_PROPERTIES(madmutt PROPERTIES LINK_FLAGS "${MUTTLIBS}") +SET_TARGET_PROPERTIES(madmutt PROPERTIES + LINK_FLAGS "${MUTTLIBS}" + # LINKER_LANGUAGE D +) # generate_files hack {{{