include(FetchContent) FetchContent_Declare( utfcpp EXCLUDE_FROM_ALL GIT_REPOSITORY https://github.com/nemtrif/utfcpp.git GIT_TAG v3.1.2 GIT_SHALLOW TRUE ) set(UTF8_TESTS OFF) set(UTF8_INSTALL OFF) set(UTF8_SAMPLES OFF) FetchContent_MakeAvailable(utfcpp)