mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Correct error message usage in CMakeLists.txt. (#404)
This commit is contained in:
parent
89c9c91efd
commit
7f51d1a724
@ -23,7 +23,7 @@ option (SAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP OFF)
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
add_definitions(-DNOMINMAX -DVK_USE_PLATFORM_WIN32_KHR)
|
||||
else()
|
||||
error("unhandled platform !")
|
||||
message(FATAL_ERROR, "unhandled platform !")
|
||||
endif()
|
||||
|
||||
add_definitions(-DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1)
|
||||
|
Loading…
Reference in New Issue
Block a user