Commit f8c14aec authored by Florian Oetke's avatar Florian Oetke
Browse files

changed vulkan dependency to Vulkan::Vulkan

parent 8db41b94
......@@ -21,6 +21,7 @@ Required:
- CMake >= 3.8
- SDL2 >= 2.0.5
- Vulkan >= 1.0.59
- GLSLC (if MIRRAGE_COMPILE_SHADERS is ON)
Included in this repository:
......@@ -50,6 +51,7 @@ In order to execute the compiled demo application, the src/demo/demo binary has
The project can be further configured by setting the following CMake-Properties (-DPROP=ON/OFF):
- MIRRAGE_BUILD_MESH_CONVERTER: Also build the mesh converter that can be used to converter models into the engine specific data format (Default: OFF)
- MIRRAGE_COMPILE_SHADERS: Also compile the glsl shaders into SPIR-V (requires GLSLC)
- MIRRAGE_ENABLE_CLANG_FORMAT: Includes an additional clangformat target, that can be used to automatically format all source files in the project
- MIRRAGE_ENABLE_LTO: Activates link time optimizations on gcc/clang (Default: OFF)
- MIRRAGE_SAN: Build with clang sanatizers (address, integer, undefined and address-use-after-scope) (Default: OFF)
......
......@@ -24,8 +24,8 @@ target_link_libraries(demo
mirrage::renderer
)
option(CompileShaders "Compile demo shaders" ON)
if(CompileShaders)
option(MIRRAGE_COMPILE_SHADERS "Compile demo shaders" OFF)
if(MIRRAGE_COMPILE_SHADERS)
include(shaders.cmake)
add_dependencies(demo demo_shaders)
endif()
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