CMake: when bulding shared libraries on non-WIN32 systems, link dl to

LLVMSystem.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2008-11-12 20:40:56 +00:00
parent e40db4a2f3
commit bc8dda83ef

View File

@ -12,3 +12,7 @@ add_llvm_library(LLVMSystem
Signals.cpp
TimeValue.cpp
)
if( BUILD_SHARED_LIBS AND NOT WIN32 )
target_link_libraries(LLVMSystem dl)
endif()