Commits

Vincent Rabeux  committed 0aebb66

Windows7 packaging with NSIS.

  • Participants
  • Parent commits 63cd7b2

Comments (0)

Files changed (3)

File documentImageCreator/src/framework/CMakeLists.txt

 set(CPACK_PACKAGE_INSTALL_DIRECTORY DocumentCreator)
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${DocumentCreator_DESCRIPTION})
 
+if(WIN32)
+	SET(CPACK_NSIS_MODIFY_PATH ON)
+endif()
+
+
 IF(UNIX AND NOT APPLE)
 
         SET(CPACK_GENERATOR "DEB")

File documentImageCreator/src/gui/AncientDocumentEditor/CMakeLists.txt

 #--------------------------------------------------------------------------------
 # Installation de QtTest, sure apple, le bundle se trouve à la racine,
 # sur les autres plate-forme dans bin
-INSTALL(TARGETS ${NAME}
+INSTALL(TARGETS ${PROGNAME}
 BUNDLE DESTINATION . COMPONENT Runtime
 RUNTIME DESTINATION bin COMPONENT Runtime
 )
 set(CPACK_PACKAGE_INSTALL_DIRECTORY AncientDocumentEditor)
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${AncientDocumentEditor_DESCRIPTION})
 
-
+if(WIN32)
+	SET(CPACK_NSIS_MODIFY_PATH ON)
+endif()
 
 IF(UNIX AND NOT APPLE)
         SET(CPACK_GENERATOR "DEB")

File libs/Lipsum4Qt/CMakeLists.txt

 set(CPACK_PACKAGE_INSTALL_DIRECTORY Lipsum4Qt)
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${Lipsum4Qt_DESCRIPTION})
 
+if(WIN32)
+	SET(CPACK_NSIS_MODIFY_PATH ON)
+endif()
+
 IF(UNIX AND NOT APPLE)
         SET(CPACK_GENERATOR "DEB")