Skip to content

Commit

Permalink
fix example dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkichler committed Jul 17, 2024
1 parent 63e4fde commit 094964a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 1 addition & 11 deletions examples/basic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
add_executable(basic basic.cu)

include(FetchContent)
FetchContent_Declare(
cumccormick
GIT_REPOSITORY https://github.com/neilkichler/cumccormick.git
GIT_TAG main
)
FetchContent_MakeAvailable(cumccormick)

target_link_libraries(basic PUBLIC cumccormick)

target_compile_features(basic PRIVATE cxx_std_20 cuda_std_20)
set_target_properties(basic PROPERTIES CUDA_ARCHITECTURES native)
target_compile_options(basic PUBLIC "$<$<COMPILE_LANGUAGE:CUDA>:--expt-relaxed-constexpr>")
target_link_libraries(basic PRIVATE ${PROJECT_NAME})
2 changes: 1 addition & 1 deletion examples/interval/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_executable(interval interval.cu)

include(FetchContent)
FetchContent_Declare(
cumccormick
cuinterval
GIT_REPOSITORY https://github.com/neilkichler/cuinterval.git
GIT_TAG main
)
Expand Down

0 comments on commit 094964a

Please sign in to comment.