From 115f7bfc09aa4309cbe1d2a51e48e9c40ba3a353 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 11 May 2006 23:46:05 +0000 Subject: [PATCH] -cleanup the toplevel CMakeLists.txt a bit -remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR) in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option -include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it doesn't have to be done in every subdir Alex svn path=/trunk/KDE/kdegraphics/doc/kdvi/; revision=539905 --- CMakeLists.txt | 2 +- doc/CMakeLists.txt | 2 +- pix/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0dab1dfa..9ced99b73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ kde4_header() add_subdirectory( pix ) -include_directories( ${CMAKE_SOURCE_DIR}/kviewshell/shell ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${FreeType2_INCLUDE_DIR} ) +include_directories( ${CMAKE_SOURCE_DIR}/kviewshell/shell ${FreeType2_INCLUDE_DIR} ) ########### next target ############### diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 140df82be..b8a30d853 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,6 +1,6 @@ kde4_header() -include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) + ########### install files ############### diff --git a/pix/CMakeLists.txt b/pix/CMakeLists.txt index 65bbaf909..3aadb4241 100644 --- a/pix/CMakeLists.txt +++ b/pix/CMakeLists.txt @@ -1,6 +1,6 @@ kde4_header() -include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) + ########### install files ###############