summaryrefslogtreecommitdiffstats
path: root/arts
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-08 16:59:04 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-08 17:00:15 +0200
commiteeb482ba1ac3c8027fe1397c25eeaf18e32612ee (patch)
tree1bc51467123b9ac8b0eff0d59179ab1cfc7db865 /arts
parente2f981b140d87ce195386a6beaa3a015e791accb (diff)
downloadtdelibs-eeb482ba1ac3c8027fe1397c25eeaf18e32612ee.tar.gz
tdelibs-eeb482ba1ac3c8027fe1397c25eeaf18e32612ee.zip
Fix FTBFS if ARTS_INCLUDE_DIRS contains multiple paths
Diffstat (limited to 'arts')
-rw-r--r--arts/kde/CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/arts/kde/CMakeLists.txt b/arts/kde/CMakeLists.txt
index 3b585256d..091be3526 100644
--- a/arts/kde/CMakeLists.txt
+++ b/arts/kde/CMakeLists.txt
@@ -27,11 +27,6 @@ link_directories(
${ARTS_LIBRARY_DIRS}
)
-# pkg-config stripping -I/usr/include
-if( NOT ARTS_INCLUDE_DIRS )
- set( ARTS_INCLUDE_DIRS "/usr/include" )
-endif()
-
##### headers ###################################
@@ -58,7 +53,7 @@ set( ${target}_SRCS
add_custom_command(
OUTPUT artskde.cc artskde.h
COMMAND ${ARTS_MCOPIDL_EXECUTABLE}
- -I${ARTS_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
+ -I${ARTS_INCLUDEDIR} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
DEPENDS artskde.idl
)