Use CMake's find_package to locate vulkan for samples and tests. (#308)
This commit is contained in:
committed by
Markus Tavenrath
parent
2d8483e06f
commit
fba738079a
@@ -40,5 +40,5 @@ add_executable(14_InitPipeline
|
||||
|
||||
set_target_properties(14_InitPipeline PROPERTIES FOLDER "Samples")
|
||||
target_include_directories(14_InitPipeline PUBLIC ${CMAKE_SOURCE_DIR}/glslang)
|
||||
target_link_libraries(14_InitPipeline PUBLIC glslang SPIRV "$ENV{VULKAN_SDK}/Lib/vulkan-1.lib"
|
||||
target_link_libraries(14_InitPipeline PUBLIC glslang SPIRV "${Vulkan_LIBRARIES}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user