From 7f5390cec3ff9a0c472a713881ad8bb237a4be47 Mon Sep 17 00:00:00 2001 From: shawnz Date: Tue, 10 Jun 2025 15:14:33 +0800 Subject: [PATCH] Bug 5323124: Waive simpleAWBarrier on QNX --- Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt b/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt index b21a485b..18f001e2 100644 --- a/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt +++ b/Samples/0_Introduction/simpleAWBarrier/CMakeLists.txt @@ -20,6 +20,12 @@ endif() # Include directories and libraries include_directories(../../../Common) +# This sample is not supported on QNX +if(CMAKE_SYSTEM_NAME STREQUAL "QNX") + message(STATUS "simpleAWBarrier is not supported on QNX") + return() +endif() + # Source file # Add target for simpleAWBarrier add_executable(simpleAWBarrier simpleAWBarrier.cu)