Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Nov 3, 2024
1 parent 16a2a38 commit 32f8696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ include(cmake/thirdparty/get_thread_pool.cmake)

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

target_include_directories(
Expand Down
2 changes: 1 addition & 1 deletion cpp/cmake/thirdparty/get_libcurl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function(find_and_configure_libcurl)
CPM_ARGS
GIT_REPOSITORY https://github.com/curl/curl
GIT_TAG curl-7_87_0
OPTIONS "BUILD_CURL_EXE OFF" "BUILD_SHARED_LIBS ON" "BUILD_TESTING OFF" "CURL_USE_LIBPSL OFF"
OPTIONS "BUILD_CURL_EXE OFF" "BUILD_SHARED_LIBS OFF" "BUILD_TESTING OFF" "CURL_USE_LIBPSL OFF"
"CURL_DISABLE_LDAP ON" "CMAKE_POSITION_INDEPENDENT_CODE ON"
)
if(DEFINED CACHE_HAS_BUILD_TESTING)
Expand Down

0 comments on commit 32f8696

Please sign in to comment.