diff --git a/3rdParty/curl/CMakeLists.txt b/3rdParty/curl/CMakeLists.txt index 8ca4e98..e9623fb 100644 --- a/3rdParty/curl/CMakeLists.txt +++ b/3rdParty/curl/CMakeLists.txt @@ -14,7 +14,7 @@ if (NOT ${CURL_FOUND}) WORKING_DIRECTORY ${CURL_DEPS_INSTALL} ) execute_process( - COMMAND ${CMAKE_COMMAND} --build ${CURL_DEPS_INSTALL} + COMMAND ${CMAKE_COMMAND} --build ${CURL_DEPS_INSTALL} --config Release RESULT_VARIABLE build_result ) if (NOT ${build_result} EQUAL "0") @@ -38,7 +38,7 @@ function(LinkCurl TARGET) if (APPLE) target_link_libraries(${TARGET} PUBLIC curl) elseif (WIN32) - target_link_libraries(${TARGET} PUBLIC curl ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) + target_link_libraries(${TARGET} PUBLIC ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) else () target_link_libraries(${TARGET} PUBLIC crypto ssl curl) endif ()