~ubuntu-branches/ubuntu/saucy/koffice/saucy

« back to all changes in this revision

Viewing changes to krita/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-06 15:30:09 UTC
  • mfrom: (0.13.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206153009-yf0dqbp9l7fzwxi8
Tags: 1:2.2.91-0ubuntu1
New upstream RC release

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
 
8
# The reason for this mode is that the Debug mode disable inlining
 
9
#
7
10
if(CMAKE_COMPILER_IS_GNUCXX)
8
11
    set(CMAKE_CXX_FLAGS_KRITADEVS "-O2 -g" CACHE STRING "" FORCE)
9
12
endif(CMAKE_COMPILER_IS_GNUCXX)
100
103
add_subdirectory( benchmarks )
101
104
 
102
105
set(kritapart_PART_SRCS krita_part_init.cc)
103
 
kde4_add_plugin(kritapart WITH_PREFIX ${kritapart_PART_SRCS})
 
106
kde4_add_plugin(kritapart ${kritapart_PART_SRCS})
104
107
target_link_libraries(kritapart kritaui)
105
108
install(TARGETS kritapart DESTINATION ${PLUGIN_INSTALL_DIR})
106
109