More Cmake work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
efd61473dd
commit
43a91e349e
@ -14,9 +14,9 @@ set(PROJECT_VERSION "0.7.3")
|
||||
# Tweakable values
|
||||
if(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
set(DEBUG ON)
|
||||
else(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
else()
|
||||
set(DEBUG OFF)
|
||||
endif(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
endif()
|
||||
|
||||
option(USE_FRIBIDI "Support for right-to-left languages" ON)
|
||||
option(FONT_TOOL "Compile font tool" OFF)
|
||||
@ -754,7 +754,8 @@ foreach(curr ${datafiles})
|
||||
installfilemacro(${curr})
|
||||
endforeach()
|
||||
|
||||
install(TARGETS supertuxkart RUNTIME DESTINATION games)
|
||||
|
||||
install(TARGETS supertuxkart RUNTIME DESTINATION games BUNDLE DESTINATION .)
|
||||
install(FILES data/supertuxkart.desktop DESTINATION share/applications)
|
||||
install(FILES data/supertuxkart_32.xpm data/supertuxkart_64.xpm DESTINATION share/pixmaps)
|
||||
|
||||
@ -764,4 +765,3 @@ add_custom_target(GenerateDesktopFile
|
||||
ADD_DEPENDENCIES(supertuxkart GenerateDesktopFile)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user