|
|
|
@ -373,8 +373,8 @@ if (NOT WIN32 AND NOT APPLE)
|
|
|
|
|
"${OpenMW_BINARY_DIR}/openmw.desktop")
|
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/openmw-mimeinfo.xml
|
|
|
|
|
"${OpenMW_BINARY_DIR}/openmw-mimeinfo.xml")
|
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/opencs.desktop
|
|
|
|
|
"${OpenMW_BINARY_DIR}/opencs.desktop")
|
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/openmw-cs.desktop
|
|
|
|
|
"${OpenMW_BINARY_DIR}/openmw-cs.desktop")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
# Compiler settings
|
|
|
|
@ -423,7 +423,7 @@ IF(NOT WIN32 AND NOT APPLE)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-essimporter" DESTINATION "${BINDIR}" )
|
|
|
|
|
ENDIF(BUILD_ESSIMPORTER)
|
|
|
|
|
IF(BUILD_OPENCS)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/opencs" DESTINATION "${BINDIR}" )
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw-cs" DESTINATION "${BINDIR}" )
|
|
|
|
|
ENDIF(BUILD_OPENCS)
|
|
|
|
|
IF(BUILD_NIFTEST)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/niftest" DESTINATION "${BINDIR}" )
|
|
|
|
@ -444,8 +444,8 @@ IF(NOT WIN32 AND NOT APPLE)
|
|
|
|
|
INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw-mimeinfo.xml" DESTINATION "${DATAROOTDIR}/mime/packages" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ COMPONENT "openmw")
|
|
|
|
|
INSTALL(FILES "${OpenMW_SOURCE_DIR}/files/launcher/images/openmw.png" DESTINATION "${ICONDIR}" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ COMPONENT "openmw")
|
|
|
|
|
IF(BUILD_OPENCS)
|
|
|
|
|
INSTALL(FILES "${OpenMW_BINARY_DIR}/opencs.desktop" DESTINATION "${DATAROOTDIR}/applications" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ COMPONENT "opencs")
|
|
|
|
|
INSTALL(FILES "${OpenMW_SOURCE_DIR}/files/opencs/opencs.png" DESTINATION "${ICONDIR}" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ COMPONENT "opencs")
|
|
|
|
|
INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw-cs.desktop" DESTINATION "${DATAROOTDIR}/applications" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ COMPONENT "opencs")
|
|
|
|
|
INSTALL(FILES "${OpenMW_SOURCE_DIR}/files/opencs/openmw-cs.png" DESTINATION "${ICONDIR}" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ COMPONENT "opencs")
|
|
|
|
|
ENDIF(BUILD_OPENCS)
|
|
|
|
|
|
|
|
|
|
# Install global configuration files
|
|
|
|
@ -485,7 +485,7 @@ if(WIN32)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/openmw-essimporter.exe" DESTINATION ".")
|
|
|
|
|
ENDIF(BUILD_ESSIMPORTER)
|
|
|
|
|
IF(BUILD_OPENCS)
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/opencs.exe" DESTINATION ".")
|
|
|
|
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/openmw-cs.exe" DESTINATION ".")
|
|
|
|
|
INSTALL(FILES "${OpenMW_BINARY_DIR}/opencs.ini" DESTINATION ".")
|
|
|
|
|
ENDIF(BUILD_OPENCS)
|
|
|
|
|
IF(BUILD_WIZARD)
|
|
|
|
@ -509,7 +509,7 @@ if(WIN32)
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-launcher;OpenMW Launcher")
|
|
|
|
|
ENDIF(BUILD_LAUNCHER)
|
|
|
|
|
IF(BUILD_OPENCS)
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};opencs;OpenMW Construction Set")
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-cs;OpenMW Construction Set")
|
|
|
|
|
ENDIF(BUILD_OPENCS)
|
|
|
|
|
IF(BUILD_WIZARD)
|
|
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "${CPACK_PACKAGE_EXECUTABLES};openmw-wizard;OpenMW Wizard")
|
|
|
|
|