[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gcompris] /: compil chain, now default to aac on windows and apple
From:       Bruno Coudoin <bruno.coudoin () gcompris ! net>
Date:       2015-04-26 17:39:39
Message-ID: E1YmQWp-0008Lo-T0 () scm ! kde ! org
[Download RAW message or body]

Git commit fc0712ebc70774210f5c7f9f4c4217ae361f7c17 by Bruno Coudoin.
Committed on 26/04/2015 at 17:39.
Pushed by bcoudoin into branch 'master'.

compil chain, now default to aac on windows and apple

M  +5    -1    CMakeLists.txt

http://commits.kde.org/gcompris/fc0712ebc70774210f5c7f9f4c4217ae361f7c17

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5249afa..5da5f84 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -178,7 +178,11 @@ endif()
 
 option(WITH_KIOSK_MODE "Set the kiosk mode by default" OFF)
 
-set(COMPRESSED_AUDIO "ogg" CACHE STRING "Compressed Audio format [ogg|aac]")
+if(WINDOWS OR APPLE)
+  set(COMPRESSED_AUDIO "aac" CACHE STRING "Compressed Audio format [ogg|aac]")
+else()
+  set(COMPRESSED_AUDIO "ogg" CACHE STRING "Compressed Audio format [ogg|aac]")
+endif()
 
 file(GLOB_RECURSE OGG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/ "*.ogg")
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic