mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-01 10:03:30 +01:00
ldmd2 requires -lpthread and -lcurses, too.
This is a change to the LLVM CMake files from LLVM 3.5.
This commit is contained in:
@@ -495,7 +495,7 @@ set_target_properties(${LDMD_EXE} PROPERTIES
|
|||||||
# use symbols from libdl, ..., so LLVM_LDFLAGS must come _after_ them in the
|
# use symbols from libdl, ..., so LLVM_LDFLAGS must come _after_ them in the
|
||||||
# command line. Maybe this could be improved using library groups, at least with
|
# command line. Maybe this could be improved using library groups, at least with
|
||||||
# GNU ld.
|
# GNU ld.
|
||||||
target_link_libraries(${LDMD_EXE} ${LLVM_LIBRARIES} "${LLVM_LDFLAGS}")
|
target_link_libraries(${LDMD_EXE} ${LLVM_LIBRARIES} ${PTHREAD_LIBS} ${TERMINFO_LIBS} "${LLVM_LDFLAGS}")
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test and runtime targets. Note that enable_testing() is order-sensitive!
|
# Test and runtime targets. Note that enable_testing() is order-sensitive!
|
||||||
|
|||||||
Reference in New Issue
Block a user