Skip to content

Commit

Permalink
cmake clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Oct 7, 2024
1 parent cc7b291 commit 58e3054
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ if(NOT already_set_kvikio)
endif()

if(TARGET CURL::libcurl)
target_link_libraries(kvikio::kvikio INTERFACE $<BUILD_LOCAL_INTERFACE:CURL::libcurl>)
target_compile_definitions(kvikio::kvikio INTERFACE $<BUILD_LOCAL_INTERFACE:KVIKIO_LIBCURL_FOUND>)
target_link_libraries(kvikio::kvikio INTERFACE CURL::libcurl)
target_compile_definitions(kvikio::kvikio INTERFACE KVIKIO_LIBCURL_FOUND)
endif()

endif()
Expand Down
2 changes: 1 addition & 1 deletion python/kvikio/kvikio/_lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endif()
rapids_cython_create_modules(
CXX
SOURCE_FILES "${cython_modules}"
LINKED_LIBRARIES kvikio::kvikio nvcomp::nvcomp $<TARGET_NAME_IF_EXISTS:CURL::libcurl>
LINKED_LIBRARIES kvikio::kvikio nvcomp::nvcomp
)
if(USE_NVCOMP_RUNTIME_WHEEL)
set(rpaths "$ORIGIN/../../nvidia/nvcomp")
Expand Down

0 comments on commit 58e3054

Please sign in to comment.