vcpkg/ports/boost-locale/cmake-fragment.cmake

11 lines
288 B
CMake
Raw Normal View History

2018-04-18 07:26:01 +08:00
find_library(LIBICONV_LIBRARY iconv)
get_filename_component(LIBICONV_DIR "${LIBICONV_LIBRARY}" DIRECTORY)
list(APPEND B2_OPTIONS
boost.locale.iconv=on
boost.locale.posix=on
/boost/locale//boost_locale
boost.locale.icu=off
-sICONV_PATH=${LIBICONV_LIBRARY}
)