# HG changeset patch # User Frits van Bommel # Date 1236897058 -3600 # Node ID 015b1634b33f22f45201ada3c99d1ae8ad5736a5 # Parent feca4947d1f2ce45154ab72cd00f1508151b01f2 Unquote ${LIBCONFIG_LDFLAGS} in target_link_libraries(). Without this change, LDC fails to link for me. diff -r feca4947d1f2 -r 015b1634b33f CMakeLists.txt --- a/CMakeLists.txt Thu Mar 12 23:12:36 2009 +0100 +++ b/CMakeLists.txt Thu Mar 12 23:30:58 2009 +0100 @@ -211,7 +211,7 @@ ) # LDFLAGS should actually be in target property LINK_FLAGS, but this works, and gets around linking problems -target_link_libraries(${LDC_EXE} "${LLVM_LDFLAGS} ${LLVM_LIBS} ${LIBCONFIG_LDFLAGS}") +target_link_libraries(${LDC_EXE} "${LLVM_LDFLAGS} ${LLVM_LIBS}" ${LIBCONFIG_LDFLAGS}) if(WIN32) target_link_libraries(${LDC_EXE} psapi) set(CONF_INST_DIR bin)