vcpkg/ports/boost-locale/cmake-fragment.cmake
2018-04-19 10:40:06 -07:00

11 lines
288 B
CMake

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}
)