1 diff --git a/runtime/Cpp/runtime/CMakeLists.txt b/runtime/Cpp/runtime/CMakeLists.txt
2 index c8b16c6cf..e8da7960d 100644
3 --- a/runtime/Cpp/runtime/CMakeLists.txt
4 +++ b/runtime/Cpp/runtime/CMakeLists.txt
5 @@ -40,8 +40,8 @@ find_package(utf8cpp QUIET)
6 set(INSTALL_utf8cpp FALSE)
9 - target_link_libraries(antlr4_shared utf8cpp)
10 - target_link_libraries(antlr4_static utf8cpp)
11 + target_link_libraries(antlr4_shared utf8cpp::utf8cpp)
12 + target_link_libraries(antlr4_static utf8cpp::utf8cpp)
15 # older utf8cpp doesn't define the package above