┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSchrijvers Luc <[email protected]>2024-05-18 12:48:41 +0200
committerFelix Ernst <[email protected]>2024-05-21 11:00:41 +0000
commit2638402bca4072cdda7bca62bcef29b263ef1cfe (patch)
tree591946dfed24b19f8ca96a79dbe44a5e7b1014b1 /CMakeLists.txt
parent0e1a9bb80f8b5787c90773a1880f2e17729cdfb3 (diff)
Haiku build fixes
Co-authored-by: Gerasim Troeglazov <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ea347952..5a4018351 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,7 +53,7 @@ find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
DBus
)
-if (UNIX AND NOT APPLE)
+if (UNIX AND NOT APPLE AND NOT HAIKU)
set(HAVE_X11 TRUE)
endif()
@@ -150,7 +150,7 @@ endif()
# Compatibility with platforms without native fts (e.g. musl)
check_include_files("sys/types.h;sys/stat.h;fts.h" HAVE_FTS_H)
-if(HAVE_FTS_H)
+if(HAVE_FTS_H AND NOT HAIKU)
check_function_exists(fts_open HAVE_FTS_OPEN)
if(NOT HAVE_FTS_OPEN)
check_library_exists(fts fts_open "" HAVE_LIB_FTS)