aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/third-party/CMakeLists.txt.rej
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/third-party/CMakeLists.txt.rej')
-rw-r--r--libtransport/third-party/CMakeLists.txt.rej21
1 files changed, 21 insertions, 0 deletions
diff --git a/libtransport/third-party/CMakeLists.txt.rej b/libtransport/third-party/CMakeLists.txt.rej
new file mode 100644
index 000000000..4ebaf9061
--- /dev/null
+++ b/libtransport/third-party/CMakeLists.txt.rej
@@ -0,0 +1,21 @@
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -41,9 +41,6 @@ if (NOT WITH_THREADS)
+ set (CMAKE_DISABLE_FIND_PACKAGE_Threads ON)
+ endif (NOT WITH_THREADS)
+
+-set (CMAKE_C_VISIBILITY_PRESET hidden)
+-set (CMAKE_CXX_VISIBILITY_PRESET hidden)
+-set (CMAKE_VISIBILITY_INLINES_HIDDEN 1)
+ list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+
+ include (CheckCXXSourceCompiles)
+@@ -570,7 +567,7 @@ if (_glog_CMake_MODULES)
+ )
+ endif (_glog_CMake_MODULES)
+
+-add_library (glog
++add_library (glog OBJECT
+ ${GLOG_SRCS}
+ ${_glog_BINARY_CMake_MODULES}
+ )