From 91feea3937332863cbefc0388f98715c228f2122 Mon Sep 17 00:00:00 2001 From: Lauren Wrubleski Date: Fri, 27 Oct 2023 09:51:08 -0600 Subject: [PATCH] Include FetchContent before usage (#308) --- cmake/ROCmCMakeBuildToolsDependency.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/ROCmCMakeBuildToolsDependency.cmake b/cmake/ROCmCMakeBuildToolsDependency.cmake index bdb0d468..3f8e1fcc 100644 --- a/cmake/ROCmCMakeBuildToolsDependency.cmake +++ b/cmake/ROCmCMakeBuildToolsDependency.cmake @@ -32,6 +32,7 @@ if(NOT ROCM_FOUND) else() set(SOURCE_SUBDIR_ARG) endif() + include(FetchContent) FetchContent_Declare( rocm-cmake URL https://github.com/RadeonOpenCompute/rocm-cmake/archive/refs/tags/rocm-5.2.0.tar.gz