diff options
-rw-r--r-- | arts/kde/CMakeLists.txt | 7 | ||||
-rw-r--r-- | tdelfeditor/tdelfeditor.cpp | 1 |
2 files changed, 2 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 ) diff --git a/tdelfeditor/tdelfeditor.cpp b/tdelfeditor/tdelfeditor.cpp index d982bea5d..23c95a05a 100644 --- a/tdelfeditor/tdelfeditor.cpp +++ b/tdelfeditor/tdelfeditor.cpp @@ -30,6 +30,7 @@ /* Obtaining command-line options */ #include <getopt.h> +#include <cstdlib> /* Internationalization support */ extern "C" { |