From 679d2fd1f285e30179ee62e0c4b45ed396eb9929 Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Thu, 5 Dec 2024 10:56:52 -0500 Subject: [PATCH] Fix a CMakeLists bug for videoDecodeRaw test (#470) --- samples/videoDecodeRaw/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/videoDecodeRaw/CMakeLists.txt b/samples/videoDecodeRaw/CMakeLists.txt index 01b78879b7..7223778d1f 100644 --- a/samples/videoDecodeRaw/CMakeLists.txt +++ b/samples/videoDecodeRaw/CMakeLists.txt @@ -37,12 +37,12 @@ if (NOT DEFINED CMAKE_CXX_COMPILER) set(CMAKE_CXX_COMPILER ${ROCM_PATH}/bin/amdclang++) endif() -list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../../cmake) -list(APPEND CMAKE_PREFIX_PATH ${ROCM_PATH}/hip ${ROCM_PATH}) - project(videodecoderaw) set(CMAKE_CXX_STANDARD 17) +list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../../cmake) +list(APPEND CMAKE_PREFIX_PATH ${ROCM_PATH}/hip ${ROCM_PATH}) + # rocDecode sample build type set(DEFAULT_BUILD_TYPE "Release") if(NOT CMAKE_BUILD_TYPE)