llvm-6502/lib/System/CMakeLists.txt
Oscar Fuentes 470fb51961 Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.
Patch by Tobias Grosser!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89406 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-19 23:21:43 +00:00

47 lines
826 B
CMake

add_llvm_library(LLVMSystem
Alarm.cpp
Atomic.cpp
Disassembler.cpp
DynamicLibrary.cpp
Errno.cpp
Host.cpp
IncludeFile.cpp
Memory.cpp
Mutex.cpp
Path.cpp
Process.cpp
Program.cpp
RWMutex.cpp
Signals.cpp
ThreadLocal.cpp
Threading.cpp
TimeValue.cpp
Unix/Alarm.inc
Unix/Host.inc
Unix/Memory.inc
Unix/Mutex.inc
Unix/Path.inc
Unix/Process.inc
Unix/Program.inc
Unix/RWMutex.inc
Unix/Signals.inc
Unix/ThreadLocal.inc
Unix/TimeValue.inc
Win32/Alarm.inc
Win32/DynamicLibrary.inc
Win32/Host.inc
Win32/Memory.inc
Win32/Mutex.inc
Win32/Path.inc
Win32/Process.inc
Win32/Program.inc
Win32/RWMutex.inc
Win32/Signals.inc
Win32/ThreadLocal.inc
Win32/TimeValue.inc
)
if( BUILD_SHARED_LIBS AND NOT WIN32 )
target_link_libraries(LLVMSystem ${CMAKE_DL_LIBS})
endif()