~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to krita/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# turn on QImage as buffer for QPainter based canvas
5
5
add_definitions(-DINDEPENDENT_CANVAS)
6
6
 
7
 
if(GCC)
8
 
    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-operator-names")
9
 
endif(GCC)
 
7
if(CMAKE_COMPILER_IS_GNUCXX)
 
8
    set(CMAKE_CXX_FLAGS_KRITADEVS "-O2 -g" CACHE STRING "" FORCE)
 
9
endif(CMAKE_COMPILER_IS_GNUCXX)
 
10
 
10
11
include(CheckFunctionExists)
11
12
 
12
13
macro_optional_find_package(GLEW)
64
65
    ${CMAKE_BINARY_DIR}/krita/ui
65
66
    
66
67
    ${PIGMENT_INCLUDES}
67
 
    ${KORESOURCES_INCLUDES}
68
 
    ${KOBASE_INCLUDES}
69
68
    ${KOTEXT_INCLUDES}
70
69
    ${KOMAIN_INCLUDES}
71
70
    ${CMAKE_SOURCE_DIR}/libs/widgets/resources
88
87
 
89
88
add_subdirectory( image )
90
89
add_subdirectory( ui )
91
 
add_subdirectory( shape )
92
90
add_subdirectory( dtd )
93
91
add_subdirectory( plugins )
94
92
add_subdirectory( data )
95
93
add_subdirectory( pics )
 
94
add_subdirectory( benchmarks )
96
95
 
97
96
set(kritapart_PART_SRCS krita_part_init.cc)
98
97
kde4_add_plugin(kritapart WITH_PREFIX ${kritapart_PART_SRCS})