Change needed for mingw

This commit is contained in:
Kelly Wilson
2009-04-22 14:40:56 -06:00
parent 687395cda6
commit 5c4455a394

View File

@@ -217,7 +217,7 @@ set_target_properties(
# 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})
if(WIN32)
target_link_libraries(${LDC_EXE} psapi)
target_link_libraries(${LDC_EXE} config++ imagehlp psapi)
set(CONF_INST_DIR bin)
endif(WIN32)