mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-12 19:51:47 +00:00
commit
d8ea155798
@ -4,6 +4,7 @@ project(VulkanBootstrap)
|
||||
find_package(Vulkan REQUIRED)
|
||||
|
||||
add_library(vk-bootstrap src/VkBootstrap.h src/VkBootstrap.cpp)
|
||||
add_library(vk-bootstrap::vk-bootstrap ALIAS vk-bootstrap)
|
||||
|
||||
target_include_directories(vk-bootstrap PUBLIC src)
|
||||
|
||||
@ -25,7 +26,7 @@ target_compile_options(
|
||||
/W4>)
|
||||
option(VK_BOOTSTRAP_TEST "Test Vk-Bootstrap with glfw and Catch2" OFF)
|
||||
|
||||
if(VK_BOOTSTRAP_TEST)
|
||||
if (VK_BOOTSTRAP_TEST)
|
||||
set(GLFW_BUILD_TESTS
|
||||
OFF
|
||||
CACHE BOOL "" FORCE)
|
||||
@ -58,4 +59,4 @@ if(VK_BOOTSTRAP_TEST)
|
||||
${CMAKE_COMMAND} -E copy_directory
|
||||
${CMAKE_SOURCE_DIR}/example/shaders ${CMAKE_CURRENT_BINARY_DIR}
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR})
|
||||
endif()
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user