From 8b135ace377a4d20e0cb370c1201bf1949bd2c78 Mon Sep 17 00:00:00 2001 From: maier Date: Fri, 22 Nov 2013 13:03:11 +0000 Subject: [PATCH] Bugfix: create ${TARGET}.signed dummy file in CMakeFiles directory git-svn-id: https://svn.dealii.org/trunk@31758 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/macros/macro_deal_ii_invoke_autopilot.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/cmake/macros/macro_deal_ii_invoke_autopilot.cmake b/deal.II/cmake/macros/macro_deal_ii_invoke_autopilot.cmake index 46a05912e0..c0207506c9 100644 --- a/deal.II/cmake/macros/macro_deal_ii_invoke_autopilot.cmake +++ b/deal.II/cmake/macros/macro_deal_ii_invoke_autopilot.cmake @@ -97,15 +97,15 @@ MACRO(DEAL_II_INVOKE_AUTOPILOT) IF(CMAKE_SYSTEM_NAME MATCHES "Darwin") IF(DEFINED OSX_CERTIFICATE_NAME) - ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_BINARY_DIR}/${TARGET}.signed + ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${TARGET}.signed COMMAND codesign -f -s ${OSX_CERTIFICATE_NAME} ${TARGET} - COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_BINARY_DIR}/${TARGET}.signed + COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${TARGET}.signed COMMENT "Digitally signing ${TARGET}" DEPENDS ${TARGET} VERBATIM ) ADD_CUSTOM_TARGET(sign ALL - DEPENDS ${CMAKE_BINARY_DIR}/${TARGET}.signed + DEPENDS ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${TARGET}.signed ) ADD_DEPENDENCIES(run sign) ELSE() -- 2.39.5