Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:videoregataos
vulkan-validationlayers
ver.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ver.diff of Package vulkan-validationlayers
From: Jan Engelhardt <jengelh@inai.de> Date: 2020-08-19 13:21:33.156157310 +0200 We do not want static archives in openSUSE, so need to turn on SHARED mode. As a result, a version needs to be added. --- CMakeLists.txt | 3 ++- layers/vk_layer_config.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) Index: Vulkan-ValidationLayers-sdk-1.2.189.0/CMakeLists.txt =================================================================== --- Vulkan-ValidationLayers-sdk-1.2.189.0.orig/CMakeLists.txt +++ Vulkan-ValidationLayers-sdk-1.2.189.0/CMakeLists.txt @@ -343,11 +343,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s # files directly in layers. add_library(VkLayer_utils - STATIC + SHARED layers/vk_layer_config.cpp layers/vk_layer_extension_utils.cpp layers/vk_layer_utils.cpp layers/vk_format_utils.cpp) +set_target_properties(VkLayer_utils PROPERTIES OUTPUT_NAME "VkLayer_utils-@PACKAGE_VERSION@") target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers) set_target_properties(VkLayer_utils PROPERTIES CXX_STANDARD ${VVL_CPP_STANDARD}) if (VVL_ENABLE_ASAN) Index: Vulkan-ValidationLayers-sdk-1.2.189.0/layers/vk_layer_config.h =================================================================== --- Vulkan-ValidationLayers-sdk-1.2.189.0.orig/layers/vk_layer_config.h +++ Vulkan-ValidationLayers-sdk-1.2.189.0/layers/vk_layer_config.h @@ -33,7 +33,7 @@ #define SECONDARY_VK_REGISTRY_HIVE_STR "HKEY_CURRENT_USER" #endif -std::string GetEnvironment(const char *variable); +VK_LAYER_EXPORT std::string GetEnvironment(const char *variable); #ifdef __cplusplus extern "C" {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor