share/CMakeLists.txt
author nemo
Mon, 01 Nov 2010 17:58:59 -0400
changeset 4084 0d0bf0533eee
parent 2641 b08cafb86797
child 4336 006133b13b32
permissions -rw-r--r--
Add opendesktop association of files for non-windows. NEEDS TESTING.

add_subdirectory(hedgewars)

IF(APPLE)
	configure_file(${hedgewars_SOURCE_DIR}/share/Info.plist.in 
		${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
	install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/Info.plist"
		DESTINATION ../)
	install(PROGRAMS "${hedgewars_SOURCE_DIR}/misc/Icon.icns"
		DESTINATION ../Resources/)
	install(PROGRAMS "${hedgewars_SOURCE_DIR}/misc/dsa_pub.pem"
		DESTINATION ../Resources/)
ENDIF(APPLE)