Skip to content

Commit

Permalink
Disable iOS bundling globally
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Aug 29, 2024
1 parent 5c4f98c commit 73be4ea
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
cmake_minimum_required(VERSION 3.25)

set(CMAKE_MACOSX_BUNDLE OFF)

project(bare_tls C CXX)

include(bare)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

if(NOT TARGET ssl)
set(
INSTALL_DESTINATION_DEFAULT
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR}
)

if(MSVC)
set(OPENSSL_NO_ASM ON)
endif()
Expand All @@ -24,12 +18,6 @@ if(NOT TARGET ssl)
endif()

add_subdirectory(vendor/boringssl EXCLUDE_FROM_ALL)

set_target_properties(
bssl
PROPERTIES
MACOSX_BUNDLE OFF
)
endif()

add_bare_module(bare_tls)
Expand Down

0 comments on commit 73be4ea

Please sign in to comment.