snappy/snappy-gtest.patch

13 lines
429 B
Diff
Raw Normal View History

2017-08-25 09:58:38 +00:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2020-01-15 10:29:46 +00:00
@@ -212,7 +212,7 @@
"snappy-test.cc"
2017-08-25 09:58:38 +00:00
)
target_compile_definitions(snappy_unittest PRIVATE -DHAVE_CONFIG_H)
- target_link_libraries(snappy_unittest snappy ${GFLAGS_LIBRARIES})
+ target_link_libraries(snappy_unittest snappy ${GTEST_LIBRARIES} ${GFLAGS_LIBRARIES})
if(HAVE_LIBZ)
target_link_libraries(snappy_unittest z)