Mercurial > projects > ldc
comparison CMakeLists.txt @ 1256:6af2359b433a
Change needed for mingw
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 22 Apr 2009 14:40:56 -0600 |
parents | 1853dcd9b944 |
children | bedf0bfb8fdb |
comparison
equal
deleted
inserted
replaced
1255:9014d7f0433f | 1256:6af2359b433a |
---|---|
215 ) | 215 ) |
216 | 216 |
217 # LDFLAGS should actually be in target property LINK_FLAGS, but this works, and gets around linking problems | 217 # LDFLAGS should actually be in target property LINK_FLAGS, but this works, and gets around linking problems |
218 target_link_libraries(${LDC_EXE} "${LLVM_LDFLAGS} ${LLVM_LIBS}" ${LIBCONFIG_LDFLAGS}) | 218 target_link_libraries(${LDC_EXE} "${LLVM_LDFLAGS} ${LLVM_LIBS}" ${LIBCONFIG_LDFLAGS}) |
219 if(WIN32) | 219 if(WIN32) |
220 target_link_libraries(${LDC_EXE} psapi) | 220 target_link_libraries(${LDC_EXE} config++ imagehlp psapi) |
221 set(CONF_INST_DIR bin) | 221 set(CONF_INST_DIR bin) |
222 endif(WIN32) | 222 endif(WIN32) |
223 | 223 |
224 if(USE_BOEHM_GC) | 224 if(USE_BOEHM_GC) |
225 target_link_libraries(${LDC_EXE} ${PROJECT_SOURCE_DIR}/libgc.a) | 225 target_link_libraries(${LDC_EXE} ${PROJECT_SOURCE_DIR}/libgc.a) |