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

github.com/asmjit/asmjit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2020-09-29 01:57:40 +0300
committerGitHub <noreply@github.com>2020-09-29 01:57:40 +0300
commit3c4415d7290e29c1e0f4d07aa856d531b3440056 (patch)
treefb5bb16bc4fd0aabbeae4e3db71f8e311e61792f
parenta4341e811d8abeaa5895fdd6ce6ebfa6ab8929a8 (diff)
[Bug] NetBSD build needs librt (#305)
-rw-r--r--CMakeLists.txt2
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()