1
0
mirror of https://github.com/google/leveldb.git synced 2025-04-25 14:00:27 +08:00

cmake: warning flags should be private

Do not set -Werror for all the code that links this library.
This commit is contained in:
胡玮文 2025-03-03 02:27:05 +08:00 committed by GitHub
parent ac691084fd
commit 01afd5f59f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -264,7 +264,7 @@ endif(BUILD_SHARED_LIBS)
if(HAVE_CLANG_THREAD_SAFETY)
target_compile_options(leveldb
PUBLIC
PRIVATE
-Werror -Wthread-safety)
endif(HAVE_CLANG_THREAD_SAFETY)