Warning, /graphics/digikam/project/bundles/3rdparty/ext_openssl/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # Script to build static version of OpenSSL for AppImage bundle.
0002 #
0003 # SPDX-FileCopyrightText: 2015-2024 by Gilles Caulier  <caulier dot gilles at gmail dot com>
0004 #
0005 # SPDX-License-Identifier: BSD-3-Clause
0006 #
0007 #
0008 
0009 if (NOT MINGW AND NOT APPLE)
0010 
0011     SET(EXTPREFIX_openssl "${EXTPREFIX}/local/")
0012 
0013     ExternalProject_Add(ext_openssl
0014 
0015         GIT_REPOSITORY https://github.com/janbar/openssl-cmake
0016         GIT_TAG 1.1.1w-20231130
0017 
0018         INSTALL_DIR ${EXTPREFIX_openssl}
0019 
0020         CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTPREFIX_openssl}
0021                    -DCMAKE_BUILD_TYPE=${GLOBAL_BUILD_TYPE}
0022                    -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE
0023                    -DWITH_APPS=OFF
0024                    -DWITH_DOCS=OFF
0025                    -DWITH_TESTS=OFF
0026                    ${GLOBAL_PROFILE}
0027 
0028         BUILD_COMMAND ${BUILD_CLI}
0029 
0030         UPDATE_COMMAND ""
0031         ALWAYS 0
0032     )
0033 
0034 endif()