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
@@ -34,4 +34,4 @@ add_executable(03_InitDevice
|
||||
)
|
||||
|
||||
set_target_properties(03_InitDevice PROPERTIES FOLDER "Samples")
|
||||
target_link_libraries(03_InitDevice "$ENV{VULKAN_SDK}/Lib/vulkan-1.lib")
|
||||
target_link_libraries(03_InitDevice "${Vulkan_LIBRARIES}")
|
||||
|
||||
Reference in New Issue
Block a user