CMake build: Use ${CMAKE_STATIC_LIBRARY_SUFFIX} to look for .lib on Windows.

This commit is contained in:
Jakob Petsovits 2015-07-15 18:00:15 -04:00
parent f865fac7d9
commit 8fe8a843e5
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ endif()
if(LibtorrentRasterbar_USE_STATIC_LIBS)
set(LibtorrentRasterbar_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX})
endif()
if(PC_LIBTORRENT_RASTERBAR_FOUND)