Fix FTBFS if ARTS_INCLUDE_DIRS contains multiple paths

pull/16/head
Slávek Banko 11 years ago
parent e2f981b140
commit eeb482ba1a

@ -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
)

Loading…
Cancel
Save