summaryrefslogtreecommitdiff
path: root/devel/apitrace/files/patch-lib_trace_CMakeLists.txt
blob: a9cc6dc9ccbd37c71e65f951514cae6644a45f38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- lib/trace/CMakeLists.txt.orig	2025-06-26 12:43:44 UTC
+++ lib/trace/CMakeLists.txt
@@ -27,13 +27,15 @@ add_convenience_library (common
     trace_ostream_zlib.cpp
 )
 
+find_package(Snappy REQUIRED)
+
 target_link_libraries (common
     guids
     highlight
     os
-    Snappy::snappy
     ZLIB::ZLIB
     PkgConfig::BROTLIDEC
+    ${Snappy_LIBRARIES}
 )
 
 if (BUILD_TESTING)