diff options
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8c7f6b56e..1b3d10ef5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -323,12 +323,12 @@ else() endif(HAVE_LIBRT) endif(APPLE) - if(NOT HAIKU) + if(NOT HAIKU AND NOT APPLE) # This way Xxf86vm is found on OpenBSD too find_library(XXF86VM_LIBRARY Xxf86vm) mark_as_advanced(XXF86VM_LIBRARY) set(CLIENT_PLATFORM_LIBS ${CLIENT_PLATFORM_LIBS} ${XXF86VM_LIBRARY}) - endif(NOT HAIKU) + endif(NOT HAIKU AND NOT APPLE) # Prefer local iconv if installed find_library(ICONV_LIBRARY iconv) |