Fix BEFORE keyword in target_include_directories

This commit is contained in:
Cheng 2025-05-19 11:11:38 +00:00
parent 48ef3e74e2
commit 6d884c6a8e

View File

@ -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(