You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+2-10Lines changed: 2 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,7 @@ endif()
97
97
cmake_dependent_option(BUILD_SHARED_LIBS"Build and install libprojectM as a shared libraries. If OFF, builds as static libraries."ON"NOT ENABLE_EMSCRIPTEN"OFF)
98
98
cmake_dependent_option(ENABLE_GLES"Enable OpenGL ES support"OFF"NOT ENABLE_EMSCRIPTEN AND NOT CMAKE_SYSTEM_NAME STREQUAL Android"ON)
99
99
cmake_dependent_option(ENABLE_INSTALL"Enable installing projectM libraries and headers."OFF"NOT PROJECT_IS_TOP_LEVEL"ON)
100
+
cmake_dependent_option(ENABLE_MACOS_FRAMEWORK"Build as macOS Framework bundles instead of plain shared libraries."OFF"CMAKE_SYSTEM_NAME STREQUAL Darwin AND BUILD_SHARED_LIBS"OFF)
100
101
101
102
# Experimental/unsupported features
102
103
option(ENABLE_CXX_INTERFACE"Enable exporting C++ symbols for ProjectM and PCM classes, not only the C API. Warning: This is not very portable."OFF)
@@ -199,16 +200,6 @@ else()
199
200
endif()
200
201
endif()
201
202
202
-
if(ENABLE_CXX_INTERFACE)
203
-
set(CMAKE_C_VISIBILITY_PRESET default)
204
-
set(CMAKE_CXX_VISIBILITY_PRESET default)
205
-
set(CMAKE_VISIBILITY_INLINES_HIDDEN OFF)
206
-
else()
207
-
set(CMAKE_C_VISIBILITY_PRESET hidden)
208
-
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
209
-
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
210
-
endif()
211
-
212
203
# Disable trace/debug logging in release builds unless explicitly requested
0 commit comments