瀏覽代碼

Merge pull request #120 from openfheorg/Arakelov_issue69

Fixes issue with serialization on Apple devices (#69)
yspolyakov 8 月之前
父節點
當前提交
52f588acbf
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      CMakeLists.txt

+ 4 - 0
CMakeLists.txt

@@ -10,6 +10,10 @@ set(OPENFHE_PYTHON_VERSION ${OPENFHE_PYTHON_VERSION_MAJOR}.${OPENFHE_PYTHON_VERS
 set(CMAKE_CXX_STANDARD 17)
 option( BUILD_STATIC "Set to ON to include static versions of the library" OFF)
 
+if(APPLE)
+    set(CMAKE_CXX_VISIBILITY_PRESET default)
+endif()
+
 find_package(OpenFHE 1.1.3 REQUIRED)
 find_package(pybind11 REQUIRED)