From 77b5b75255aac519dfb314708bfd7019939f99a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 8 Sep 2013 16:59:04 +0200 Subject: [PATCH] Fix FTBFS if ARTS_INCLUDE_DIRS contains multiple paths (cherry picked from commit eeb482ba1ac3c8027fe1397c25eeaf18e32612ee) --- arts/kde/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arts/kde/CMakeLists.txt b/arts/kde/CMakeLists.txt index 9c8028bb7..844a2237d 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 )