Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
x64 libcurl
Browse files Browse the repository at this point in the history
  • Loading branch information
Prevter committed May 31, 2024
1 parent 946e80f commit dd89223
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libs/curl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
add_library(libcurl INTERFACE)

target_include_directories(libcurl INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(libcurl INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/libcurl.lib)

if (CMAKE_SIZEOF_VOID_P EQUAL 8)
target_link_libraries(libcurl INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/lib/x64/libcurl.lib)
else()
target_link_libraries(libcurl INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/lib/x86/libcurl.lib)
endif()
Binary file added libs/curl/lib/x64/libcurl.lib
Binary file not shown.
File renamed without changes.

0 comments on commit dd89223

Please sign in to comment.