summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-23 08:15:27 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-23 08:15:30 +0100
commit966896daadc50fbdce239bb34c76534ad0db7c68 (patch)
tree69b36736724fa30c256df5e1b50d3ab291bffcf6
parentnsight_aftermath_tracker: Fix build issues when enabled (diff)
downloadyuzu-966896daadc50fbdce239bb34c76534ad0db7c68.tar
yuzu-966896daadc50fbdce239bb34c76534ad0db7c68.tar.gz
yuzu-966896daadc50fbdce239bb34c76534ad0db7c68.tar.bz2
yuzu-966896daadc50fbdce239bb34c76534ad0db7c68.tar.lz
yuzu-966896daadc50fbdce239bb34c76534ad0db7c68.tar.xz
yuzu-966896daadc50fbdce239bb34c76534ad0db7c68.tar.zst
yuzu-966896daadc50fbdce239bb34c76534ad0db7c68.zip
-rw-r--r--src/video_core/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index e01ea55ab..bb1f8491f 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")