mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fixed compilation of ldc2
This commit is contained in:
@@ -237,9 +237,9 @@ 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})
|
||||
target_link_libraries(${LDC_EXE} "${LLVM_LDFLAGS} ${LLVM_LIBS}" ${LIBCONFIG_LDFLAGS} config++)
|
||||
if(WIN32)
|
||||
target_link_libraries(${LDC_EXE} config++ imagehlp psapi)
|
||||
target_link_libraries(${LDC_EXE} imagehlp psapi)
|
||||
set(CONF_INST_DIR bin)
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user