summaryrefslogtreecommitdiffstats
path: root/arts/kde
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-07 20:27:44 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-07 20:27:44 +0000
commitd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (patch)
tree1c3f9b0612e13d4d5b27855db2a079bf3e3d7fee /arts/kde
parentcd45eedaa5380b2eb846ce5324118c7723ee3c32 (diff)
downloadtdelibs-d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d.tar.gz
tdelibs-d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d.zip
[kdelibs] allow compiling when arts headers are installed in /usr/include
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1204531 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/kde')
-rw-r--r--arts/kde/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/arts/kde/CMakeLists.txt b/arts/kde/CMakeLists.txt
index 70282455e..a28576a94 100644
--- a/arts/kde/CMakeLists.txt
+++ b/arts/kde/CMakeLists.txt
@@ -31,6 +31,11 @@ link_directories(
${ARTS_LIBRARY_DIRS}
)
+# pkg-config stripping -I/usr/include
+if( NOT ARTS_INCLUDE_DIRS )
+ set( ARTS_INCLUDE_DIRS "/usr/include" )
+endif()
+
##### headers ###################################
@@ -57,7 +62,7 @@ set( ${target}_SRCS
add_custom_command(
OUTPUT artskde.cc artskde.h
COMMAND ${ARTS_MCOPIDL_EXECUTABLE}
- ARGS -I${ARTS_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
+ -I${ARTS_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
DEPENDS artskde.idl
)