Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/farlng
diff options
context:
space:
mode:
authorIgor Ingultsov <igor.ingultsov@gmail.com>2016-09-16 23:22:38 +0300
committerIgor Ingultsov <igor.ingultsov@gmail.com>2016-09-16 23:22:38 +0300
commit80731bb531a5857a1aaa0b7b4fc00b337840d119 (patch)
tree8c226d0739caeebd3649d3ccedfcc46c4e5e991d /farlng
parent6589ff6c6a8036d6d8a33cde94b10958032dfb7d (diff)
correct visibility setting for static libraries corresponding to new
cmake behaviour (new cmake versions do not ignore hidden visibility=hidden for static libraries, which causes missing exports when they are linked into a shared library library)
Diffstat (limited to 'farlng')
-rw-r--r--farlng/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/farlng/CMakeLists.txt b/farlng/CMakeLists.txt
index f14241e5..c3fcff8c 100644
--- a/farlng/CMakeLists.txt
+++ b/farlng/CMakeLists.txt
@@ -9,6 +9,8 @@ set(SOURCES
src/lng.inserter.cpp
)
+set(CMAKE_CXX_VISIBILITY_PRESET default)
+set(CMAKE_C_VISIBILITY_PRESET default)
find_package(PkgConfig REQUIRED)