blob: 213cfcb761e13a6f44aab4b28321922a0368fd9a (
plain)
1 Index: Vulkan-ValidationLayers-sdk-1.1.121.0/CMakeLists.txt
2 ===================================================================
3 --- Vulkan-ValidationLayers-sdk-1.1.121.0/CMakeLists.txt
4 +++ Vulkan-ValidationLayers-sdk-1.1.121.0/CMakeLists.txt 2019-09-25 12:25:23.778410890 +0200
5 @@ -27,6 +27,9 @@
6
7 enable_testing()
8
9 +set(VKLAYERS_VERSION "1.0.0" CACHE STRING "Build version")
10 +set(VKLAYERS_SOVERSION "1" CACHE STRING "Library API version")
11 +
12 # User-interface declarations ----------------------------------------------------------------------------------------------------
13 # This section contains variables that affect development GUIs (e.g. CMake GUI and IDEs), such as option(), folders, and variables
14 # with the CACHE property.
15 Index: Vulkan-ValidationLayers-sdk-1.1.121.0/layers/CMakeLists.txt
16 ===================================================================
17 --- Vulkan-ValidationLayers-sdk-1.1.121.0/layers/CMakeLists.txt
18 +++ Vulkan-ValidationLayers-sdk-1.1.121.0/layers/CMakeLists.txt 2019-09-25 12:25:23.779410888 +0200
19 @@ -133,6 +133,9 @@
20 else(UNIX AND NOT APPLE) # i.e.: Linux
21 macro(AddVkLayer target LAYER_COMPILE_DEFINITIONS)
22 add_library(VkLayer_${target} SHARED ${ARGN})
23 + set_target_properties(VkLayer_${target} PROPERTIES
24 + VERSION ${VKLAYERS_VERSION}
25 + SOVERSION ${VKLAYERS_SOVERSION})
26 target_compile_definitions(VkLayer_${target} PUBLIC ${LAYER_COMPILE_DEFINITIONS})
27 target_link_libraries(VkLayer_${target} PRIVATE VkLayer_utils)
28 add_dependencies(VkLayer_${target} VkLayer_utils)
|