fix: fix symbols visability

This commit is contained in:
Михаил Чернигин 2023-09-25 19:18:09 +04:00
parent 4360e4fa12
commit 3b7699c975
Signed by: cherniginma
GPG Key ID: 42ED11B71604A422

View File

@ -3,7 +3,7 @@ if (CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "e2k")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-undef -fvisibility=default -pedantic -Wall")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-undef -fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wall\
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-undef -fvisibility-inlines-hidden -pedantic -Wall
-Wextra -Wno-long-long -Weffc++ -Werror -Wall -Wextra -pedantic -Wcast-align -Wcast-qual -Wctor-dtor-privacy \
-Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wnoexcept -Wold-style-cast \
-Woverloaded-virtual -Wredundant-decls -Wshadow -Wstrict-null-sentinel -Wundef \