From 434d56b4db859001a2d3b4f7a3a9c5c170d011dc Mon Sep 17 00:00:00 2001 From: kai Date: Wed, 17 Oct 2012 08:39:41 +0200 Subject: [PATCH] Fix link error on Travis Cl. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 590b8cb2..b319f6e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -308,7 +308,7 @@ set_target_properties( ) target_link_libraries(gen_gccbuiltins "${LLVM_LDFLAGS}" ${LLVM_LIBRARIES}) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - target_link_libraries(${LDC_LIB} dl) + target_link_libraries(gen_gccbuiltins dl) endif() # For use by the druntime/Phobos build system.