Remove BUILD_LOADER build option

No reason to have this since the tests depend on the loader being built to function.
This commit is contained in:
Charles Giessen
2022-02-16 12:26:07 -07:00
committed by Charles Giessen
parent fdecf4d4aa
commit 9c04f64f2d
2 changed files with 1 additions and 6 deletions
-1
View File
@@ -213,7 +213,6 @@ on/off options currently supported by this repository:
| 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. |
+1 -5
View File
@@ -240,8 +240,6 @@ if(WIN32)
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)
@@ -366,9 +364,7 @@ if(NOT TARGET uninstall)
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