|
|
@ -39,6 +39,13 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") |
|
|
|
|
|
|
|
set(CURL_LIBRARIES optimized ${CURL_LIBRARIES} debug ${CURL_LIBRARY_DEBUG}) |
|
|
|
|
|
|
|
# prepare dlls |
|
|
|
string(REPLACE ".lib" ".dll" CURL_DLL ${CURL_LIBRARY}) |
|
|
|
string(REPLACE "/lib/" "/bin/" CURL_DLL ${CURL_DLL}) |
|
|
|
string(REPLACE ".lib" ".dll" CURL_DLL_DEBUG ${CURL_LIBRARY_DEBUG}) |
|
|
|
string(REPLACE "/lib/" "/bin/" CURL_DLL_DEBUG ${CURL_DLL_DEBUG}) |
|
|
|
set(CURL_DLLS optimized ${CURL_DLL} debug ${CURL_DLL_DEBUG}) |
|
|
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set CURL_FOUND to TRUE |
|
|
|