diff options
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 084900cd..69133da5 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -117,6 +117,9 @@ elseif (OSX_MACOS) endif() elseif (WINDOWS) set(exe_type WIN32) + if (SOKOL_BACKEND STREQUAL SOKOL_VULKAN) + set(system_libs ${system_libs} vulkan-1) + endif() endif() macro(configure_common target) @@ -128,6 +131,10 @@ macro(configure_common target) target_link_libraries(${target} PRIVATE ${system_libs}) target_include_directories(${target} PRIVATE ../.. ../../util) target_include_directories(${target} PRIVATE ../ext) + if (WINDOWS AND SOKOL_BACKEND STREQUAL SOKOL_VULKAN) + target_include_directories(${target} PUBLIC $ENV{VULKAN_SDK}/Include) + target_link_directories(${target} PUBLIC $ENV{VULKAN_SDK}/Lib) + endif() endmacro() macro(configure_osx_properties target) |