Skip to content

Commit

Permalink
debug: -Wl,--exclude-libs,ALL
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Nov 4, 2024
1 parent 5e6f5e3 commit f1a0f21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ include(cmake/thirdparty/get_thread_pool.cmake)

file(GLOB SOURCES "src/*.cpp")
add_library(kvikio ${SOURCES})
# target_link_options(kvikio PUBLIC "-Wl,--exclude-libs,libcurl.a")
target_link_options(kvikio PUBLIC "-Wl,--exclude-libs,ALL")
add_library(kvikio::kvikio ALIAS kvikio)

target_include_directories(
Expand Down
1 change: 1 addition & 0 deletions cpp/cmake/thirdparty/get_libcurl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function(find_and_configure_libcurl)
set(CACHE_HAS_BUILD_TESTING $CACHE{BUILD_TESTING})
endif()

# set(CPM_DOWNLOAD_ALL ON)
rapids_cpm_find(
CURL 7.87.0
GLOBAL_TARGETS libcurl
Expand Down

0 comments on commit f1a0f21

Please sign in to comment.