# CMakeLists for data/resources_mac
IF(APPLE)
	IF(WANT_COEXISTENCE)
		SET(KVIRC_BINARYNAME ${PACKAGE}${VERSION_MAJOR})
	ELSE()
		SET(KVIRC_BINARYNAME ${PACKAGE})
	ENDIF()

	CONFIGURE_FILE(${kvirc_SOURCE_DIR}/cmake/Info.plist.cmake ${CMAKE_CURRENT_BINARY_DIR}/Info.plist @ONLY)
	INSTALL(FILES kvirc.icns DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/)
	INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/Info.plist DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/)
ENDIF()
