You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here target_compile_options are set with PUBLIC. If leveldb is inlined to source code of a project and added with add_subdirectory with subsequent target_link_libraries(myproject leveldb), this project is forced to be compiled with -Werror and -Wthread-safety.
Probably add these flags as PRIVATE for each leveldb, leveldbutil and tests targets so the underlying project could control compile options itself
The text was updated successfully, but these errors were encountered:
Here target_compile_options are set with
PUBLIC
. If leveldb is inlined to source code of a project and added withadd_subdirectory
with subsequenttarget_link_libraries(myproject leveldb)
, this project is forced to be compiled with -Werror and -Wthread-safety.Probably add these flags as
PRIVATE
for each leveldb, leveldbutil and tests targets so the underlying project could control compile options itselfThe text was updated successfully, but these errors were encountered: