Re-enable SWIG compilation

For now only enable Vector, although some other
may work but will need testing.
This commit is contained in:
Matt Williams
2012-06-15 00:19:49 +02:00
parent 06439a71bd
commit 5985aa5ec2
4 changed files with 11 additions and 12 deletions

View File

@ -1,8 +1,8 @@
find_package(SWIG)
if(SWIG_FOUND)
find_package(PythonLibs)
if(SWIG_FOUND AND PYTHONLIBS_FOUND)
include(${SWIG_USE_FILE})
find_package(PythonLibs)
include_directories(${PYTHON_INCLUDE_PATH})
include_directories(${PolyVoxCore_SOURCE_DIR}/include ${PolyVoxCore_SOURCE_DIR}/include/PolyVoxCore)
link_directories(${PolyVoxCore_BINARY_DIR})