diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 92b4d7db92..786ccb9266 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -242,8 +242,8 @@ if(NOT already_set_kvikio) endif() if(TARGET CURL::libcurl) - target_link_libraries(kvikio::kvikio INTERFACE $) - target_compile_definitions(kvikio::kvikio INTERFACE $) + target_link_libraries(kvikio::kvikio INTERFACE CURL::libcurl) + target_compile_definitions(kvikio::kvikio INTERFACE KVIKIO_LIBCURL_FOUND) endif() endif() diff --git a/python/kvikio/kvikio/_lib/CMakeLists.txt b/python/kvikio/kvikio/_lib/CMakeLists.txt index 9f2118bb61..18bb46c0fb 100644 --- a/python/kvikio/kvikio/_lib/CMakeLists.txt +++ b/python/kvikio/kvikio/_lib/CMakeLists.txt @@ -30,7 +30,7 @@ endif() rapids_cython_create_modules( CXX SOURCE_FILES "${cython_modules}" - LINKED_LIBRARIES kvikio::kvikio nvcomp::nvcomp $ + LINKED_LIBRARIES kvikio::kvikio nvcomp::nvcomp ) if(USE_NVCOMP_RUNTIME_WHEEL) set(rpaths "$ORIGIN/../../nvidia/nvcomp")