Browse Source

[kdegraphics] updated cmake files

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230549 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
samelian 9 years ago
parent
commit
6f99c72ee5
2 changed files with 8 additions and 1 deletions
  1. +3
    -1
      CMakeLists.txt
  2. +5
    -0
      config.h.cmake

+ 3
- 1
CMakeLists.txt View File

@@ -52,6 +52,7 @@ option( BUILD_ALL "Build all" OFF )
option( BUILD_KVIEW "Build kview" ${BUILD_ALL} )
option( BUILD_KRULER "Build kruler" ${BUILD_ALL} )
option( BUILD_KPDF "Build kpdf" ${BUILD_ALL} )
option( BUILD_KSVG "Build ksvg" ${BUILD_ALL} )


##### configure checks ##########################
@@ -65,7 +66,7 @@ add_definitions(
-DHAVE_CONFIG_H
)

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS} -fexceptions" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )

@@ -75,6 +76,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
tde_conditional_add_subdirectory( BUILD_KVIEW kview )
tde_conditional_add_subdirectory( BUILD_KRULER kruler )
tde_conditional_add_subdirectory( BUILD_KPDF kpdf )
tde_conditional_add_subdirectory( BUILD_KSVG ksvg )


##### write configure files #####################


+ 5
- 0
config.h.cmake View File

@@ -7,3 +7,8 @@
#cmakedefine HAVE_SYS_DIR_H 1
#cmakedefine HAVE_NDIR_H 1
#cmakedefine HAVE_PAPER_H 1

// ksvg
#define STDC_HEADERS 1
#cmakedefine LCMS_HEADER <@LCMS_HEADER@>
#cmakedefine HAVE_FREETYPE_2_2_x 1

Loading…
Cancel
Save