mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
[cmake] Set hidden visibility by default.
This commit is contained in:
parent
cad8cb31bb
commit
a75f3e8a6a
@ -147,6 +147,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(LIBRARY_TYPE SHARED)
|
||||
if (STATIC)
|
||||
set(LIBRARY_TYPE)
|
||||
else()
|
||||
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
||||
endif()
|
||||
|
||||
# LTO
|
||||
|
Loading…
Reference in New Issue
Block a user