Skip to content

Commit

Permalink
fix lcub
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed Mar 3, 2025
1 parent 3064598 commit 724251f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/backends/cuda/lcub/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ endif()
file(GLOB_RECURSE DCUB_SOURCES CONFIGURE_DEPENDS "private/dcub/*.cu")
add_library(luisa-compute-cuda-ext-dcub SHARED ${DCUB_SOURCES})
target_compile_definitions(luisa-compute-cuda-ext-dcub PRIVATE DCUB_DLL_EXPORTS=1)
target_link_libraries(luisa-compute-cuda-ext-dcub PUBLIC CUDA::cudart)
target_include_directories(luisa-compute-cuda-ext-dcub PRIVATE "${CMAKE_SOURCE_DIR}/include") # -> LuisaCompute/include
target_link_libraries(luisa-compute-cuda-ext-dcub PUBLIC CUDA::cudart luisa-compute-include)
set_target_properties(luisa-compute-cuda-ext-dcub PROPERTIES OUTPUT_NAME "lc-cuda-dcub")
install(TARGETS luisa-compute-cuda-ext-dcub EXPORT LuisaComputeTargets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
Expand Down

0 comments on commit 724251f

Please sign in to comment.