Ticket #26469: patch-cmakelists.diff
File patch-cmakelists.diff, 1.4 KB (added by christophe.prudhomme@…, 14 years ago) |
---|
-
CMakeLists.txt
old new 955 955 # set these so that the files get installed nicely in the MacOSX 956 956 # .app bundle (FIXME: this screws up a standard "make install" on 957 957 # MacOS) 958 set(GMSH_BIN ../MacOS)959 set(GMSH_DOC ../../..)960 set(GMSH_MAN ../../..)958 set(GMSH_BIN bin) 959 set(GMSH_DOC share/doc/gmsh) 960 set(GMSH_MAN share/man/man1) 961 961 else(WIN32) 962 962 set(GMSH_BIN bin) 963 963 set(GMSH_DOC share/doc/gmsh) … … 1057 1057 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/Info.plist "${F1}") 1058 1058 set(CPACK_BUNDLE_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist) 1059 1059 set(CPACK_BUNDLE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIcons.icns) 1060 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIconsGeo.icns DESTINATION .1060 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIconsGeo.icns DESTINATION share/gmsh 1061 1061 RENAME GmshGeo.icns) 1062 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIconsMsh.icns DESTINATION .1062 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIconsMsh.icns DESTINATION share/gmsh 1063 1063 RENAME GmshMsh.icns) 1064 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIconsPos.icns DESTINATION .1064 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIconsPos.icns DESTINATION share/gmsh 1065 1065 RENAME GmshPos.icns) 1066 1066 set(CPACK_PACKAGE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIcons.icns) 1067 1067 elseif(WIN32)