From 43a91e349ec06de96ff2a77a87661a7c260be8b0 Mon Sep 17 00:00:00 2001 From: auria Date: Sat, 22 Oct 2011 18:20:51 +0000 Subject: [PATCH] More Cmake work git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10035 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3993ce2d4..4e72cb011 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -