Skip to content

Commit 607f7bd

Browse files
committed
Update CMakeLists for new SWIG module name
1 parent bd00d32 commit 607f7bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ifcwrap/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
1515
SET(CMAKE_SWIG_FLAGS "")
1616

1717
SET_SOURCE_FILES_PROPERTIES(IfcPython.i PROPERTIES CPLUSPLUS ON)
18-
SWIG_ADD_MODULE(IfcImport python IfcPython.i)
19-
SWIG_LINK_LIBRARIES(IfcImport ${PYTHON_LIBRARIES} IfcParse IfcGeom TKernel TKMath TKBRep TKGeomBase TKGeomAlgo TKG3d TKG2d TKShHealing TKTopAlgo TKMesh TKPrim TKBool TKBO TKFillet TKOffset)
18+
SWIG_ADD_MODULE(ifc_wrapper python IfcPython.i)
19+
SWIG_LINK_LIBRARIES(ifc_wrapper ${PYTHON_LIBRARIES} IfcParse IfcGeom TKernel TKMath TKBRep TKGeomBase TKGeomAlgo TKG3d TKG2d TKShHealing TKTopAlgo TKMesh TKPrim TKBool TKBO TKFillet TKOffset)
2020

2121
# To install IfcPython let's get the site-packackes dir from python
2222
EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib as x; print (x())"

0 commit comments

Comments
 (0)