CMake: Change "USE_VULKAN" to "HAS_VULKAN"

This commit is contained in:
iwubcode 2020-10-23 16:47:39 -05:00
parent 22b0d10568
commit 02c3242078
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ add_subdirectory(Externals/imgui)
add_subdirectory(Externals/glslang) add_subdirectory(Externals/glslang)
if(ENABLE_VULKAN) if(ENABLE_VULKAN)
add_definitions(-DUSE_VULKAN) add_definitions(-DHAS_VULKAN)
endif() endif()
if(NOT WIN32 OR (NOT (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64"))) if(NOT WIN32 OR (NOT (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")))