From 9e5b9c21c3fc56bfdfc0056cccac2e129461999c Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Thu, 26 Oct 2023 01:54:28 +0200 Subject: [PATCH] crengine: change default symbol visibility Set it to `inlineshidden`, since we compile a static library and don't need to export anything (all accesses go through `libkoreader-cre.so`). --- thirdparty/kpvcrlib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/thirdparty/kpvcrlib/CMakeLists.txt b/thirdparty/kpvcrlib/CMakeLists.txt index 49fc9f627..16d264c74 100644 --- a/thirdparty/kpvcrlib/CMakeLists.txt +++ b/thirdparty/kpvcrlib/CMakeLists.txt @@ -125,3 +125,4 @@ set (CRENGINE_SOURCES add_library(crengine STATIC ${CRENGINE_SOURCES}) # Make sure we get full `constexpr` support. target_compile_features(crengine PRIVATE cxx_std_17) +set_target_properties(crengine PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE)