share/CMakeLists.txt
author koda
Sun, 11 Oct 2009 16:23:59 +0000
changeset 2417 f7ed1ea25050
parent 2393 068632066f80
child 2641 b08cafb86797
permissions -rw-r--r--
updated build method

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)