diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index c315e3a38e..656f58f390 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -159,7 +159,7 @@ SET(include_files_geom ../src/ifcgeom/IfcRegisterIsShapeCollection.h ../src/ifcgeom/IfcRegisterPurgeCache.h ../src/ifcgeom/IfcRegisterUndef.h - ../src/ifcgeom/IfcShapeList.h + ../src/ifcgeom/IfcRepresentationShapeItem.h ) SET(include_files_parse ../src/ifcparse/Ifc2x3.h diff --git a/src/ifcwrap/CMakeLists.txt b/src/ifcwrap/CMakeLists.txt index b52c560fb3..8af4ba464a 100644 --- a/src/ifcwrap/CMakeLists.txt +++ b/src/ifcwrap/CMakeLists.txt @@ -27,9 +27,9 @@ STRING(REPLACE "\r" "" python_package_dir "${python_package_dir}") STRING(REPLACE "\n" "" python_package_dir "${python_package_dir}") INSTALL(FILES - "${CMAKE_BINARY_DIR}/ifcwrap/IfcImport.py" - "${CMAKE_BINARY_DIR}/ifcwrap/_IfcImport.so" + "${CMAKE_BINARY_DIR}/ifcwrap/IfcImport.py" DESTINATION "${python_package_dir}") +INSTALL(TARGETS _IfcImport DESTINATION "${python_package_dir}") ENDIF(PYTHONLIBS_FOUND)