Browse Source

Merge pull request #15946 from neheb/ms

msgpack-c: don't check for GTest
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
d2867fe2c7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      libs/msgpack-c/patches/010-no-gtest.patch

+ 10
- 0
libs/msgpack-c/patches/010-no-gtest.patch View File

@ -0,0 +1,10 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,7 +148,6 @@ FOREACH (F ${PREPROCESSOR_FILES})
FILE (GENERATE OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/include/msgpack/${F} CONTENT ${CONTENT})
ENDFOREACH ()
-FIND_PACKAGE (GTest)
FIND_PACKAGE (ZLIB)
FIND_PACKAGE (Threads)
IF (GTEST_FOUND AND ZLIB_FOUND AND THREADS_FOUND AND NOT "${MSGPACK_FUZZ_REGRESSION}" STREQUAL "ON")

Loading…
Cancel
Save