From: Cyril Brulebois Date: Fri, 11 Jan 2008 16:27:38 +0000 (+0100) Subject: Reorder TARGET_LINK_LIBRARIES X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=f9f8b2003d4a5e7dfaf5604fedf835686acdc38e;p=apps%2Fmadmutt.git Reorder TARGET_LINK_LIBRARIES Ensure that the needed files get generated before they are used. Reverts the reordering that happened in: 799c3f5aec72b8230f9c3c284e2b2e9d67ecf366 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d78ab7e..e59a517 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,7 +324,7 @@ MADMUTT_SOURCES(madmuttsrc madmuttgen STRING(REGEX REPLACE ";" " " MUTTLIBS "${MUTTLIBS}") ADD_EXECUTABLE(madmutt ${madmuttsrc}) -TARGET_LINK_LIBRARIES(madmutt ui mx lua imap mime sys lib) +TARGET_LINK_LIBRARIES(madmutt mime sys mx lua ui imap lib) SET_TARGET_PROPERTIES(madmutt PROPERTIES LINK_FLAGS "${MUTTLIBS}" # LINKER_LANGUAGE D