mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
20 lines
605 B
Diff
20 lines
605 B
Diff
# This is patch has a pending PR: https://github.com/Blosc/c-blosc/pull/329
|
|
|
|
--- CMakeLists.txt
|
|
+++ CMakeLists.txt
|
|
@@ -3,10 +3,9 @@ add_definitions(-DUSING_CMAKE)
|
|
|
|
set(INTERNAL_LIBS ${PROJECT_SOURCE_DIR}/internal-complibs)
|
|
|
|
-# Hide symbols by default unless they're specifically exported.
|
|
-# This makes it easier to keep the set of exported symbols the
|
|
-# same across all compilers/platforms.
|
|
-set(CMAKE_C_VISIBILITY_PRESET hidden)
|
|
+if(HIDE_SYMBOLS)
|
|
+ set(CMAKE_C_VISIBILITY_PRESET hidden)
|
|
+endif(HIDE_SYMBOLS)
|
|
|
|
# includes
|
|
set(BLOSC_INCLUDE_DIRS ${BLOSC_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|