est la configuration que je ici essayé d'utiliser CMake 2.8.2 pour reproduire le problème:Comment utiliser CPACK_RPM_POST_INSTALL_SCRIPT_FILE?
/test.sh:
/CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
SET(CPACK_PACKAGE_NAME test)
SET(CPACK_PACKAGE_VERSION 1.0)
LIST(APPEND CPACK_GENERATOR RPM)
SET(CPACK_RPM_POST_INSTALL_SCRIPT_FILE "test.sh")
INCLUDE(CPack)
alors:
mkdir build && cd build && cmake .. && make package
Résultats:
CPackRPM: avertissement: CPACK_RPM_POST_IN STALL_SCRIPT_FILE n'existe pas - ignore
Comment rendre le système de construction conscient de mon fichier test.sh?