VERY experimental Nintendo Switch 2 emulator
C++
video_core/cmake: Properly generate fatal errors on Aftermath
ReinUsesLisp80f235a8cc56
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txtindex e01ea55ab8..bb1f8491fa 100644--- a/src/video_core/CMakeLists.txt+++ b/src/video_core/CMakeLists.txt@@ -288,10 +288,10 @@ target_link_libraries(video_core PRIVATE sirit)if (ENABLE_NSIGHT_AFTERMATH)if (NOT DEFINED ENV{NSIGHT_AFTERMATH_SDK})- message(ERROR "Environment variable NSIGHT_AFTERMATH_SDK has to be provided")+ message(FATAL_ERROR "Environment variable NSIGHT_AFTERMATH_SDK has to be provided")endif()if (NOT WIN32)- message(ERROR "Nsight Aftermath doesn't support non-Windows platforms")+ message(FATAL_ERROR "Nsight Aftermath doesn't support non-Windows platforms")endif()target_compile_definitions(video_core PRIVATE HAS_NSIGHT_AFTERMATH)target_include_directories(video_core PRIVATE "$ENV{NSIGHT_AFTERMATH_SDK}/include")