git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6d67f4e
)
Some systems need rt library
author
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 18:33:12 +0000 (21:33 +0300)
committer
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 18:33:12 +0000 (21:33 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
6677470
..
c83e446
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-179,6
+179,11
@@
if (APPLE)
list(APPEND ALL_LIBRARIES "-framework Foundation -framework ApplicationServices -framework AppKit")
endif()
+# Some systems need rt library
+if (NOT WIN32 AND NOT APPLE)
+ list(APPEND ALL_LIBRARIES rt)
+endif()
+
# Try various libdb library file extensions
if (EXISTS ${BerkeleyDB_LIBS}/libdb_cxx.a)
list(APPEND ALL_LIBRARIES ${BerkeleyDB_LIBS}/libdb_cxx.a)