From dfbc887195ecd642ba7a6313f879a7d84b1742a3 Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Tue, 3 Sep 2024 13:25:45 +0100 Subject: [PATCH] QNX build #1506 --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ed3af8c8..fef25e3b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -78,6 +78,8 @@ elseif(UNIX) set(LIBS_SYSTEM c dl) elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") set(LIBS_SYSTEM compat pthread) + elseif(CMAKE_SYSTEM_NAME MATCHES "QNX") + set(LIBS_SYSTEM c) else() set(LIBS_SYSTEM c pthread) endif()