I have a problem with a cpp project where I need to install and import ICU for unicode strings.
In my CMakeList.txt I added the following:
find_library(unistring unistring REQUIRED) set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND libunistring) find_package(ICU COMPONENTS io i18n data uc REQUIRED) target_link_libraries(ocos_operators PUBLIC ICU::io ICU::i18n ICU::data ICU::uc "${unistring}")
Which works fine meaning it finds the local library and links it with no errors. However when I try to import "unicode/unistr.h" it fails to find that file. Which step have I missed?.
This is the cmake project I am trying to add icu to (https://github.com/microsoft/onnxruntime-extensions). I am on a mac m1.