From 237f9e58a892798aa9a4bfd6e83a864fa3358904 Mon Sep 17 00:00:00 2001 From: Cheng Date: Mon, 19 May 2025 22:10:44 +0900 Subject: [PATCH] Fix BEFORE keyword in target_include_directories (#2204) --- mlx/backend/cuda/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/backend/cuda/CMakeLists.txt b/mlx/backend/cuda/CMakeLists.txt index 54d651005..f9695f66a 100644 --- a/mlx/backend/cuda/CMakeLists.txt +++ b/mlx/backend/cuda/CMakeLists.txt @@ -36,7 +36,7 @@ FetchContent_Declare( cccl URL "https://github.com/NVIDIA/cccl/releases/download/v2.8.1/cccl-v2.8.1.zip") FetchContent_MakeAvailable(cccl) -target_include_directories(mlx PRIVATE BEFORE "${cccl_SOURCE_DIR}/include") +target_include_directories(mlx BEFORE PRIVATE "${cccl_SOURCE_DIR}/include") # Use fixed version of NVTX. FetchContent_Declare(