Skip to content

Commit 23f0e69

Browse files
committed
layer: Add missing reference to the MSVC DEF file
1 parent 16d3081 commit 23f0e69

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

layers/json_gen/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ target_link_libraries(VulkanJSONGenLayer
3434
Vulkan::SafeStruct
3535
)
3636

37+
if(MSVC)
38+
target_link_options(VulkanJSONGenLayer PRIVATE /DEF:${CMAKE_CURRENT_SOURCE_DIR}/${LAYER_NAME}.def)
39+
endif()
40+
3741
set_target_properties(VulkanJSONGenLayer PROPERTIES OUTPUT_NAME ${LAYER_NAME})
3842

3943
# There are 2 primary deliverables for the JSON gen layer.

0 commit comments

Comments
 (0)