CMake: Change "USE_VULKAN" to "HAS_VULKAN"
This commit is contained in:
parent
22b0d10568
commit
02c3242078
|
@ -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")))
|
||||||
|
|
Loading…
Reference in New Issue