<div dir="ltr">I have a bit of Cmake code that I can not seem to figure out how to get to actually run during cpack. HEre is the code:<div><br></div><div><br></div><div><div>  GET_FILENAME_COMPONENT (SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)</div><div>  configure_file("${SELF_DIR}/<a href="http://Deploy_ITK_Libs.sh.in">Deploy_ITK_Libs.sh.in</a>"</div><div>                 "${DREAM3DProj_BINARY_DIR}/Deploy_ITK_Libs.sh" @ONLY IMMEDIATE)</div><div>  FILE(WRITE "${DREAM3DProj_BINARY_DIR}/Deploy_ITK_Libs.cmake" "execute_process(COMMAND \"/bin/bash ${DREAM3DProj_BINARY_DIR}/Deploy_ITK_Libs.sh \${CMAKE_INSTALL_PREFIX}\")" )</div><div>  FILE(APPEND "${DREAM3DProj_BINARY_DIR}/Deploy_ITK_Libs.cmake" "\n\nMESSAGE(STATUS \"@@@@@@@@@@@@@@@@@ THIS IS DONE @@@@@@@@@@@\")\n")</div><div><br></div><div><br></div><div>  INSTALL(CODE "execute_process(COMMAND \"/bin/bash ${DREAM3DProj_BINARY_DIR}/Deploy_ITK_Libs.sh \${CMAKE_INSTALL_PREFIX}\")" </div><div>          COMPONENT Applications)</div><div>  install(SCRIPT "${DREAM3DProj_BINARY_DIR}/Deploy_ITK_Libs.cmake" COMPONENT Applications)</div></div><div><br></div><div>After I build I run "cpack" from the command line. I see _other_ scripts that I have configured run but not _this_ script. I have verified that the cmake code is actually executing as I get a new script file each time I run cmake. I am sure I am missing something simple at this point but I just can not see it.</div><div><br></div><div>This is on Linux Mint 17.x with CMake 3.1.0.</div><div><br></div><div>Thanks for any help</div><div><div><div class="gmail_signature">_________________________________________________________<br>Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>BlueQuartz Software                    <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>Principal Software Engineer                  Dayton, Ohio</div></div>
</div></div>