Commit 8db41b94 authored by Florian Oetke's avatar Florian Oetke
Browse files

changed vulkan dependency to Vulkan::Vulkan

parent b40d7b25
......@@ -21,7 +21,7 @@ target_compile_options(demo PRIVATE ${MIRRAGE_DEFAULT_COMPILER_ARGS})
target_link_libraries(demo
PRIVATE
mirrage::mirrage
mirrage::renderer
mirrage::renderer
)
option(CompileShaders "Compile demo shaders" ON)
......
......@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
project(mirrage_graphic LANGUAGES CXX)
find_package(Vulkan REQUIRED)
find_package(SDL2 REQUIRED)
add_library(sdl2::sdl2 INTERFACE IMPORTED)
set_property(TARGET sdl2::sdl2 PROPERTY INTERFACE_LINK_LIBRARIES ${SDL2_LIBRARY})
......@@ -49,7 +51,7 @@ target_link_libraries(mirrage_graphic
sf2
sdl2::sdl2
SDL_vulkan
vulkan
Vulkan::Vulkan
)
......
......@@ -53,7 +53,6 @@ target_link_libraries(mirrage_renderer
glm
gsl
sf2
vulkan
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment