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:
parent
ac691084fd
commit
01afd5f59f
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user