diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 69b4e5e..b21f9c1 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -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)