diff options
author | David CARLIER <devnexen@gmail.com> | 2020-09-29 01:57:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 01:57:40 +0300 |
commit | 3c4415d7290e29c1e0f4d07aa856d531b3440056 (patch) | |
tree | fb5bb16bc4fd0aabbeae4e3db71f8e311e61792f | |
parent | a4341e811d8abeaa5895fdd6ce6ebfa6ab8929a8 (diff) |
[Bug] NetBSD build needs librt (#305)
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7644171..bc0b512 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -232,7 +232,7 @@ if (NOT WIN32) list(APPEND ASMJIT_DEPS pthread) endif() -if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") +if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" OR "${CMAKE_SYSTEM_NAME}" MATCHES "NetBSD") list(APPEND ASMJIT_DEPS rt) endif() |