Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kpu/kenlm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2020-09-17 16:30:40 +0300
committerKenneth Heafield <github@kheafield.com>2020-09-17 16:30:40 +0300
commitbf43501be294d0c0662a3ac515f180a9dfa78035 (patch)
tree20726e44e16804ff1a6489c07f408b829bb9734e /util
parent47e98b1bb3c540db03c326e2e9bd249b09815aec (diff)
Another try at librt
Diffstat (limited to 'util')
-rw-r--r--util/CMakeLists.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
index 74e463c..3f28c92 100644
--- a/util/CMakeLists.txt
+++ b/util/CMakeLists.txt
@@ -57,11 +57,8 @@ set_source_files_properties(file_piece_test.cc PROPERTIES COMPILE_FLAGS ${READ_C
add_subdirectory(double-conversion)
add_subdirectory(stream)
-find_library(LIBRT rt)
-if (LIBRT)
- set(RT ${LIBRT})
-else()
- set(RT)
+if(UNIX AND NOT APPLE AND NOT ANDROID)
+ set(RT rt)
endif()
# Group these objects together for later use.