Reduce unneeded code.

This commit is contained in:
2021-10-31 03:06:28 +00:00
parent 664fc063ca
commit d26c6d765f
4 changed files with 52 additions and 48 deletions

View File

@@ -138,4 +138,5 @@ add_definitions(-DBZ_DEBUG=0)
# install(FILES bzlib.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
#endif()
set_property(TARGET bz2_static PROPERTY C_VISIBILITY_PRESET hidden)
set_property(TARGET bz2_static PROPERTY C_VISIBILITY_PRESET hidden)
target_compile_definitions(bz2_static PUBLIC BZ_NO_STDIO)