diff --git a/CMakeLists.txt b/CMakeLists.txt index 35175ed55..5e7dfe1fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,7 +100,7 @@ elseif(ANDROID) message(FATAL_ERROR "Android build not supported!") elseif(APPLE) target_compile_definitions(platform_wsi INTERFACE VK_USE_PLATFORM_MACOS_MVK VK_USE_PLATFORM_METAL_EXT) -elseif(CMAKE_SYSTEM_NAME MATCHES "Linux|BSD") +elseif(CMAKE_SYSTEM_NAME MATCHES "Linux|BSD|DragonFly|GNU") option(BUILD_WSI_XCB_SUPPORT "Build XCB WSI support" ON) option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" ON) option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" ON) diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index e23a3b122..7a0b47af8 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -102,7 +102,7 @@ set(NORMAL_LOADER_SRCS if(WIN32) list(APPEND NORMAL_LOADER_SRCS loader_windows.c dirent_on_windows.c) -elseif(CMAKE_SYSTEM_NAME MATCHES "Linux|BSD") +elseif(CMAKE_SYSTEM_NAME MATCHES "Linux|BSD|DragonFly|GNU") list(APPEND NORMAL_LOADER_SRCS loader_linux.c) target_compile_definitions(loader_specific_options INTERFACE LOADER_ENABLE_LINUX_SORT) endif()