diff options
Diffstat (limited to 'arts/kde/CMakeLists.txt')
-rw-r--r-- | arts/kde/CMakeLists.txt | 7 |
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 ) |