1From 3ab3ac2876cbf4a34a94f0d3256a5be9d1202370 Mon Sep 17 00:00:00 2001 2From: Qian Lei <qianl.fnst@cn.fujitsu.com> 3Date: Fri, 16 Jan 2015 18:37:26 +0800 4Subject: [PATCH] Fix error 5 6Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> 7Upstream-Status: Pending 8--- 9 swig/python/CMakeLists.txt | 2 +- 10 1 file changed, 1 insertion(+), 1 deletion(-) 11 12diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt 13index 93b4755..a7268f0 100644 14--- a/swig/python/CMakeLists.txt 15+++ b/swig/python/CMakeLists.txt 16@@ -26,7 +26,7 @@ SET( SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/../cmpi.i" ) 17 ADD_CUSTOM_COMMAND ( 18 OUTPUT ${SWIG_OUTPUT} 19 COMMAND ${CMAKE_COMMAND} -E echo_append "Creating wrapper code for Python ..." 20- COMMAND ${SWIG_EXECUTABLE} -python -Wall -threads -features autodoc -o ${SWIG_OUTPUT} -outdir ${CMAKE_CURRENT_BINARY_DIR} -I/usr/include ${SWIG_INPUT} 21+ COMMAND ${SWIG_EXECUTABLE} -python -Wall -threads -features autodoc -o ${SWIG_OUTPUT} -outdir ${CMAKE_CURRENT_BINARY_DIR} -I$ENV{STAGING_INCDIR} ${SWIG_INPUT} 22 COMMAND ${CMAKE_COMMAND} -E echo "Done." 23 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} 24 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i 25