Update include paths for bindings to new layout.

This commit is contained in:
Matt Williams
2011-05-22 21:32:02 +02:00
parent c03172e1af
commit cb0a746b6f
9 changed files with 32 additions and 31 deletions

View File

@ -4,9 +4,10 @@ if(SWIG_FOUND)
find_package(PythonLibs)
include_directories(${PYTHON_INCLUDE_PATH})
include_directories(${PolyVoxCore_SOURCE_DIR}/include)
include_directories(${PolyVoxCore_SOURCE_DIR}/include ${PolyVoxCore_SOURCE_DIR}/include/PolyVoxCore)
set(CMAKE_SWIG_FLAGS "")
add_definitions(-DSWIG)
set_source_files_properties(PolyVoxCore.i PROPERTIES CPLUSPLUS ON)
swig_add_module(PolyVoxCore python PolyVoxCore.i)