File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -299,14 +299,6 @@ codesign_files_macos(
299
299
FORCE VERBOSE
300
300
)
301
301
302
- codesign_files_macos (
303
- FILES ${CMAKE_INSTALL_PREFIX} /OpenStudioApp.app/Contents/Frameworks/QtWebEngineCore.framework/QtWebEngineCore
304
- SIGNING_IDENTITY ${CPACK_CODESIGNING_DEVELOPPER_ID_APPLICATION}
305
- PREFIX "${CPACK_CODESIGNING_MACOS_IDENTIFIER} ."
306
- ENTITLEMENTS "${CMAKE_CURRENT_LIST_DIR} /QtWebEngineProcess.entitlements"
307
- FORCE VERBOSE
308
- )
309
-
310
302
# Clean up to avoid multiple passes (several components) appending to a pre-existing list
311
303
unset (FILES_TO_SIGN )
312
304
unset (_FULL_PATHS )
Original file line number Diff line number Diff line change @@ -547,4 +547,18 @@ endif()
547
547
if (APPLE AND CPACK_CODESIGNING_DEVELOPPER_ID_APPLICATION )
548
548
include ("${CMAKE_CURRENT_SOURCE_DIR} /../../cmake/CodeSigning.cmake" )
549
549
register_install_codesign_target (${target_name} "." "OpenStudioApp" )
550
+
551
+ install (
552
+ CODE "
553
+ include(\" ${CMAKE_CURRENT_FUNCTION_LIST_FILE} \" )
554
+ codesign_files_macos(
555
+ FILES \"\$ {CMAKE_INSTALL_PREFIX}/$<TARGET_BUNDLE_DIR_NAME:${target_name} >/Contents/Frameworks/QtWebEngineCore.framework/QtWebEngineCore\"
556
+ SIGNING_IDENTITY \" ${CPACK_CODESIGNING_DEVELOPPER_ID_APPLICATION} \"
557
+ IDENTIFIER \" ${CPACK_CODESIGNING_MACOS_IDENTIFIER} .QtWebEngineCore\"
558
+ ENTITLEMENTS \" ${CMAKE_CURRENT_SOURCE_DIR} /../../cmake/QtWebEngineProcess.entitlements\"
559
+ FORCE VERBOSE
560
+ )
561
+ "
562
+ COMPONENT OpenStudioApp
563
+ )
550
564
endif ()
You can’t perform that action at this time.
0 commit comments