about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/parsing/antlr/utf8cpp.patch
blob: aad6b11857e3ff32bdc2ff24520309771470d5bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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