1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib/System/CMakeLists.txt
Oscar Fuentes 88c6014eb8 Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.
Patch by Tobias Grosser!

llvm-svn: 89406
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()