No reason to have this since the tests depend on the loader being built to function.
| Option | Platform | Default | Description |
| ---------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| BUILD_LOADER | All | `ON` | Controls whether or not the loader is built. |
| BUILD_TESTS | All | `OFF` | Controls whether or not the loader tests are built. |
| BUILD_WSI_XCB_SUPPORT | Linux | `ON` | Build the loader with the XCB entry points enabled. Without this, the XCB headers should not be needed, but the extension `VK_KHR_xcb_surface` won't be available. |
| BUILD_WSI_XLIB_SUPPORT | Linux | `ON` | Build the loader with the Xlib entry points enabled. Without this, the X11 headers should not be needed, but the extension `VK_KHR_xlib_surface` won't be available. |
option(ENABLE_WIN10_ONECORE "Link the loader with OneCore umbrella libraries" OFF)
endif()
-option(BUILD_LOADER "Build loader" ON)
-
add_library(platform_wsi_defines INTERFACE)
if(WIN32)
target_compile_definitions(platform_wsi_defines INTERFACE VK_USE_PLATFORM_WIN32_KHR)
set_target_properties(uninstall PROPERTIES FOLDER ${LOADER_HELPER_FOLDER})
endif()
-if(BUILD_LOADER)
- add_subdirectory(loader)
-endif()
+add_subdirectory(loader)
if(BUILD_TESTS)
# Set gtest build configuration