mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-04 10:38:10 +08:00 
			
		
		
		
	Fix BEFORE keyword in target_include_directories (#2204)
This commit is contained in:
		@@ -36,7 +36,7 @@ FetchContent_Declare(
 | 
				
			|||||||
  cccl
 | 
					  cccl
 | 
				
			||||||
  URL "https://github.com/NVIDIA/cccl/releases/download/v2.8.1/cccl-v2.8.1.zip")
 | 
					  URL "https://github.com/NVIDIA/cccl/releases/download/v2.8.1/cccl-v2.8.1.zip")
 | 
				
			||||||
FetchContent_MakeAvailable(cccl)
 | 
					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.
 | 
					# Use fixed version of NVTX.
 | 
				
			||||||
FetchContent_Declare(
 | 
					FetchContent_Declare(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user