[Bug] NetBSD build needs librt (#305)

This commit is contained in:
David CARLIER
2020-09-28 23:57:40 +01:00
committed by GitHub
parent a4341e811d
commit 3c4415d729

View File

@@ -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()