Cleanup on usage of static vs. dynamic loading (#462)

This commit is contained in:
Andreas Süßenbach
2019-12-23 08:45:40 +01:00
committed by Markus Tavenrath
parent 18febd6237
commit 021c7499a0
53 changed files with 69 additions and 72 deletions

View File

@@ -40,5 +40,6 @@ add_executable(ImmutableSampler
)
set_target_properties(ImmutableSampler PROPERTIES FOLDER "Samples")
target_compile_definitions(ImmutableSampler PUBLIC VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1)
target_include_directories(ImmutableSampler PUBLIC ${CMAKE_SOURCE_DIR}/glslang)
target_link_libraries(ImmutableSampler PUBLIC glslang SPIRV "${Vulkan_LIBRARIES}")
target_link_libraries(ImmutableSampler PUBLIC glslang SPIRV)