mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-18 16:14:33 -04:00
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:
committed by
Charles Giessen
parent
fdecf4d4aa
commit
9c04f64f2d
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user