depot/third_party/nixpkgs/pkgs/development/tools/parsing/antlr/utf8cpp.patch
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

15 lines
569 B
Diff

diff --git a/runtime/Cpp/runtime/CMakeLists.txt b/runtime/Cpp/runtime/CMakeLists.txt
index c8b16c6cf..e8da7960d 100644
--- a/runtime/Cpp/runtime/CMakeLists.txt
+++ b/runtime/Cpp/runtime/CMakeLists.txt
@@ -40,8 +40,8 @@ find_package(utf8cpp QUIET)
set(INSTALL_utf8cpp FALSE)
if (utf8cpp_FOUND)
- target_link_libraries(antlr4_shared utf8cpp)
- target_link_libraries(antlr4_static utf8cpp)
+ target_link_libraries(antlr4_shared utf8cpp::utf8cpp)
+ target_link_libraries(antlr4_static utf8cpp::utf8cpp)
else()
# older utf8cpp doesn't define the package above