From 06958a02a4f897ae0d13775b15cad7ecd126509a Mon Sep 17 00:00:00 2001 From: Jang Myeongho Date: Wed, 11 Dec 2013 03:17:05 +0000 Subject: [PATCH] Fix cmake install scripts. - fix renamed file: "IfcShapeList.h" -> "IfcRepresentationShapeItem.h" - IfcImport target object file. --- cmake/CMakeLists.txt | 2 +- src/ifcwrap/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)