mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2024-11-10 06:42:14 +00:00
cmake: fix linking with MSVC/VS
This commit is contained in:
parent
2c53faaa84
commit
cc36e8e9f0
1 changed files with 1 additions and 3 deletions
|
@ -433,9 +433,7 @@ if(BUNDLED_CURL AND (BUILD_CLIENT OR BUILD_SERVER))
|
|||
|
||||
if (WIN32)
|
||||
|
||||
if(VSTUDIO)
|
||||
set(CURL_BUNDLED_LIBRARIES optimized "${binary_dir}/lib/Release/libcurl${CMAKE_STATIC_LIBRARY_SUFFIX}" debug "${binary_dir}/lib/Debug/libcurl-d${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
||||
elseif(MINGW OR VS_BUILD)
|
||||
if(MINGW OR VS_BUILD OR VSTUDIO)
|
||||
set(CURL_BUNDLED_LIBRARIES optimized "${binary_dir}/lib/libcurl${CMAKE_STATIC_LIBRARY_SUFFIX}" debug "${binary_dir}/lib/libcurl-d${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
||||
else()
|
||||
set(CURL_BUNDLED_LIBRARIES "${binary_dir}/libcurl${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
||||
|
|
Loading…
Reference in a new issue