Fix reliance on the sign of char in fnv32 and fnv64
[folly.git] / CMakeLists.txt
index 38886d6599ab08e0eed0d65f678a967a2836d5df..c17760a2ed731b3d2c9e21cc81206a24c3d6f9d8 100755 (executable)
@@ -263,6 +263,10 @@ if (BUILD_TESTS)
     ${FOLLY_DIR}/io/async/test/UndelayedDestruction.h
     ${FOLLY_DIR}/io/async/test/Util.h
   )
+  target_compile_definitions(folly_test_support
+    PUBLIC
+      ${LIBGMOCK_DEFINES}
+  )
   target_include_directories(folly_test_support
     PUBLIC
       ${LIBGMOCK_INCLUDE_DIR}