share/CMakeLists.txt
author sheepluva
Fri, 07 May 2010 20:45:03 +0000
changeset 3449 033e4a8a9c74
parent 2641 b08cafb86797
child 4336 006133b13b32
permissions -rw-r--r--
wait for AI thread to finish before freeing ressources (to avoid segfaults on game exit)

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)