projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e40db4a
)
CMake: when bulding shared libraries on non-WIN32 systems, link dl to
author
Oscar Fuentes
<ofv@wanadoo.es>
Wed, 12 Nov 2008 20:40:56 +0000
(20:40 +0000)
committer
Oscar Fuentes
<ofv@wanadoo.es>
Wed, 12 Nov 2008 20:40:56 +0000
(20:40 +0000)
LLVMSystem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59159
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lib/System/CMakeLists.txt
b/lib/System/CMakeLists.txt
index 31baf356bb05279e6272ac998b51b0583ef0ab35..4b9ce5dabf259b08ce78c0399ef411aee86fec82 100644
(file)
--- a/
lib/System/CMakeLists.txt
+++ b/
lib/System/CMakeLists.txt
@@
-12,3
+12,7
@@
add_llvm_library(LLVMSystem
Signals.cpp
TimeValue.cpp
)
Signals.cpp
TimeValue.cpp
)
+
+if( BUILD_SHARED_LIBS AND NOT WIN32 )
+ target_link_libraries(LLVMSystem dl)
+endif()