aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 84c2a56..8338ab9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -352,6 +352,19 @@ if(LIBRESSL_APPS AND LIBRESSL_TESTS)
352 add_subdirectory(tests) 352 add_subdirectory(tests)
353endif() 353endif()
354 354
355if (BUILD_APPLE_XCFRAMEWORK)
356 # Create the super library from object libraries
357 add_library(LibreSSL_xcframework
358 $<TARGET_OBJECTS:crypto_obj> $<TARGET_OBJECTS:tls_obj> $<TARGET_OBJECTS:ssl_obj>)
359 set_target_properties(LibreSSL_xcframework PROPERTIES
360 OUTPUT_NAME ressl)
361
362 if(ENABLE_LIBRESSL_INSTALL)
363 install(TARGETS LibreSSL_xcframework
364 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
365 endif(ENABLE_LIBRESSL_INSTALL)
366endif(BUILD_APPLE_XCFRAMEWORK)
367
355if(ENABLE_LIBRESSL_INSTALL) 368if(ENABLE_LIBRESSL_INSTALL)
356 if(NOT MSVC) 369 if(NOT MSVC)
357 # Create pkgconfig files. 370 # Create pkgconfig files.