mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 00:22:55 +08:00
10 lines
546 B
CMake
10 lines
546 B
CMake
|
_find_package(${ARGS})
|
||
|
|
||
|
if(Intl_FOUND AND Intl_LIBRARIES)
|
||
|
include(SelectLibraryConfigurations)
|
||
|
find_library(Intl_LIBRARY_DEBUG NAMES intl libintl intl-8 NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" NO_DEFAULT_PATH)
|
||
|
find_library(Intl_LIBRARY_RELEASE NAMES intl libintl intl-8 NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH)
|
||
|
unset(Intl_LIBRARIES)
|
||
|
unset(Intl_LIBRARIES CACHE)
|
||
|
select_library_configurations(Intl)
|
||
|
endif()
|