A few more tiny steps in the right direction

Getting templates to work is the next thing
This commit is contained in:
Matt Williams
2009-03-28 13:08:29 +00:00
parent 00f19e05a4
commit 58355da40b
8 changed files with 47 additions and 6 deletions

View File

@ -149,8 +149,7 @@ if(SWIG_FOUND)
set_source_files_properties(bindings/PolyVoxCore.i PROPERTIES CPLUSPLUS ON)
swig_add_module(PolyVoxCore python bindings/PolyVoxCore.i)
swig_link_libraries(PolyVoxCore ${PYTHON_LIBRARIES})
message(STATUS "${SWIG_MODULE_PolyVoxCore_REAL_NAME}")
swig_link_libraries(PolyVoxCore ${PYTHON_LIBRARIES} PolyVoxCore)
set_target_properties(${SWIG_MODULE_PolyVoxCore_REAL_NAME} PROPERTIES SUFFIX ".pyd")
endif()