~marcobiscaro2112/unity/custom-bg

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Marco Biscaro
  • Date: 2012-07-12 12:05:07 UTC
  • mfrom: (2353.2.144 unity)
  • Revision ID: marcobiscaro2112@gmail.com-20120712120507-7u9sb43bqon88ifl
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
# Base bits
8
8
#
9
9
set (PROJECT_NAME "unity")
10
 
set (UNITY_MAJOR 5)
11
 
set (UNITY_MINOR 12)
 
10
set (UNITY_MAJOR 6)
 
11
set (UNITY_MINOR 0)
12
12
set (UNITY_MICRO 0)
13
13
set (UNITY_VERSION "${UNITY_MAJOR}.${UNITY_MINOR}.${UNITY_MICRO}")
14
 
set (UNITY_API_VERSION "5.0")
 
14
set (UNITY_API_VERSION "6.0")
15
15
 
16
16
set (CMAKE_CXX_FLAGS "-DGNOME_DESKTOP_USE_UNSTABLE_API -std=c++0x -fno-permissive")
17
17
set (CMAKE_CXX_FLAGS_DEBUG "-g3")
18
18
set (CMAKE_CXX_FLAGS_RELEASE "")
19
19
 
 
20
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "armv7l")
 
21
    set (UNITY_STANDALONE_LADD "-lunity-core-${UNITY_API_VERSION} -lm")
 
22
else ()
 
23
    set (UNITY_STANDALONE_LADD "-lunity-core-${UNITY_API_VERSION} -lm -lGL -lGLU")
 
24
endif ()
 
25
 
20
26
option (USE_MODERN_COMPIZ_GL "Use Modern Compiz GL API" OFF)
21
27
if (USE_MODERN_COMPIZ_GL)
22
28
        SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_MODERN_COMPIZ_GL")
127
133
#
128
134
# Compiz Plugins
129
135
#
130
 
set (UNITY_PLUGIN_DEPS "compiz;nux-2.0>=2.0.0;libbamf3;dee-1.0;gio-2.0;gio-unix-2.0;dbusmenu-glib-0.4;x11;libstartup-notification-1.0;gthread-2.0;indicator3-0.4>=0.4.90;atk;unity-misc>=0.4.0;gconf-2.0;libutouch-geis;gtk+-3.0>=3.1;sigc++-2.0;json-glib-1.0;libnotify;gnome-desktop-3.0;xfixes")
 
136
 
 
137
set (UNITY_PLUGIN_DEPS "compiz;nux-3.0>=3.0.0;libbamf3;dee-1.0;gio-2.0;gio-unix-2.0;dbusmenu-glib-0.4;x11;libstartup-notification-1.0;gthread-2.0;indicator3-0.4>=0.4.90;atk;unity-misc>=0.4.0;gconf-2.0;libutouch-geis;gtk+-3.0>=3.1;sigc++-2.0;json-glib-1.0;libnotify;xfixes")
 
138
 
131
139
find_package (PkgConfig)
132
140
pkg_check_modules (CACHED_UNITY_DEPS REQUIRED ${UNITY_PLUGIN_DEPS})
133
141
add_subdirectory(unity-shared)