You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/cmake/Platform/Windows/PackagingPreBuild_windows.c...

18 lines
586 B
CMake

#
# Copyright (c) Contributors to the Open 3D Engine Project.
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
#
file(REAL_PATH "${CPACK_SOURCE_DIR}/.." LY_ROOT_FOLDER)
include(${LY_ROOT_FOLDER}/cmake/Platform/Common/PackagingPreBuild_common.cmake)
include(${CPACK_CODESIGN_SCRIPT})
if(NOT CPACK_UPLOAD_URL) # Skip signing if we are not uploading the package
return()
endif()
set(_cpack_wix_out_dir ${CPACK_TOPLEVEL_DIRECTORY})
ly_sign_binaries("${_cpack_wix_out_dir}" "exePath")