mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:19:08 +08:00
[vcpkg] fix find_library suffix/prefix definitions for iOS (#39972)
Co-authored-by: Derek Cyrus-Chow <derek.chow@catapult.com>
This commit is contained in:
parent
a68201b181
commit
8babf36466
@ -95,7 +95,7 @@ elseif(VCPKG_TARGET_IS_WINDOWS)
|
||||
set(VCPKG_TARGET_IMPORT_LIBRARY_PREFIX "")
|
||||
set(VCPKG_FIND_LIBRARY_SUFFIXES ".lib" ".dll") #This is a slight modification to CMakes value which does not include ".dll".
|
||||
set(VCPKG_FIND_LIBRARY_PREFIXES "" "lib") #This is a slight modification to CMakes value which does not include "lib".
|
||||
elseif(VCPKG_TARGET_IS_OSX)
|
||||
elseif(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
|
||||
set(VCPKG_TARGET_STATIC_LIBRARY_SUFFIX ".a")
|
||||
set(VCPKG_TARGET_IMPORT_LIBRARY_SUFFIX "")
|
||||
set(VCPKG_TARGET_SHARED_LIBRARY_SUFFIX ".dylib")
|
||||
|
Loading…
Reference in New Issue
Block a user