debug info
This commit is contained in:
3
3rdParty/curl/CMakeLists.txt
vendored
3
3rdParty/curl/CMakeLists.txt
vendored
@@ -33,11 +33,12 @@ function(LinkCurl TARGET)
|
||||
set(CURL_DEPS_INSTALL ${CMAKE_BINARY_DIR}/deps_curl)
|
||||
target_include_directories(${TARGET} PUBLIC ${CURL_DEPS_INSTALL}/INSTALL/include)
|
||||
target_link_directories(${TARGET} PUBLIC ${CURL_DEPS_INSTALL}/INSTALL/lib)
|
||||
message("Using CURL install dir: ${CURL_DEPS_INSTALL}/INSTALL/include")
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(${TARGET} PUBLIC curl)
|
||||
elseif (WIN32)
|
||||
target_link_libraries(${TARGET} PUBLIC ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})
|
||||
target_link_libraries(${TARGET} PUBLIC curl ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})
|
||||
else ()
|
||||
target_link_libraries(${TARGET} PUBLIC crypto ssl curl)
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user