diff options
author | Igor Ingultsov <igor.ingultsov@gmail.com> | 2016-09-16 23:22:38 +0300 |
---|---|---|
committer | Igor Ingultsov <igor.ingultsov@gmail.com> | 2016-09-16 23:22:38 +0300 |
commit | 80731bb531a5857a1aaa0b7b4fc00b337840d119 (patch) | |
tree | 8c226d0739caeebd3649d3ccedfcc46c4e5e991d /farlng | |
parent | 6589ff6c6a8036d6d8a33cde94b10958032dfb7d (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.txt | 2 |
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) |