mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 17:26:30 +00:00
cmake - remove unused installs after 8fb10d2
This commit is contained in:
@@ -13,8 +13,6 @@ foreach(kernel ${GEOMETRY_KERNELS})
|
|||||||
list(APPEND kernel_libraries ${KERNEL_TARGET})
|
list(APPEND kernel_libraries ${KERNEL_TARGET})
|
||||||
target_link_libraries(${KERNEL_TARGET} ${${KERNEL_UPPER}_LIBRARIES} Eigen3::Eigen)
|
target_link_libraries(${KERNEL_TARGET} ${${KERNEL_UPPER}_LIBRARIES} Eigen3::Eigen)
|
||||||
|
|
||||||
install(TARGETS ${KERNEL_TARGET})
|
|
||||||
|
|
||||||
if(${kernel} STREQUAL "cgal")
|
if(${kernel} STREQUAL "cgal")
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
target_link_libraries(${KERNEL_TARGET} CGAL::CGAL)
|
target_link_libraries(${KERNEL_TARGET} CGAL::CGAL)
|
||||||
@@ -26,7 +24,6 @@ foreach(kernel ${GEOMETRY_KERNELS})
|
|||||||
list(APPEND kernel_libraries ${KERNEL_TARGET_SIMPLE})
|
list(APPEND kernel_libraries ${KERNEL_TARGET_SIMPLE})
|
||||||
target_link_libraries(${KERNEL_TARGET_SIMPLE} ${${KERNEL_UPPER}_LIBRARIES} Eigen3::Eigen)
|
target_link_libraries(${KERNEL_TARGET_SIMPLE} ${${KERNEL_UPPER}_LIBRARIES} Eigen3::Eigen)
|
||||||
target_link_libraries(${KERNEL_TARGET_SIMPLE} CGAL::CGAL)
|
target_link_libraries(${KERNEL_TARGET_SIMPLE} CGAL::CGAL)
|
||||||
install(TARGETS ${KERNEL_TARGET_SIMPLE})
|
|
||||||
elseif(${kernel} STREQUAL "opencascade")
|
elseif(${kernel} STREQUAL "opencascade")
|
||||||
target_link_libraries(${KERNEL_TARGET} ${OpenCASCADE_LIBRARIES})
|
target_link_libraries(${KERNEL_TARGET} ${OpenCASCADE_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ foreach(schema ${SCHEMA_VERSIONS})
|
|||||||
target_link_libraries(geometry_mapping_ifc${schema} IfcParse Eigen3::Eigen)
|
target_link_libraries(geometry_mapping_ifc${schema} IfcParse Eigen3::Eigen)
|
||||||
|
|
||||||
list(APPEND mapping_libraries geometry_mapping_ifc${schema})
|
list(APPEND mapping_libraries geometry_mapping_ifc${schema})
|
||||||
|
|
||||||
install(TARGETS geometry_mapping_ifc${schema})
|
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
set(mapping_libraries ${mapping_libraries} PARENT_SCOPE)
|
set(mapping_libraries ${mapping_libraries} PARENT_SCOPE)
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ foreach(schema ${SCHEMA_VERSIONS})
|
|||||||
else()
|
else()
|
||||||
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OpenCASCADE_LIBRARIES} ${HDF5_LIBRARIES})
|
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OpenCASCADE_LIBRARIES} ${HDF5_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS Serializers_ifc${schema})
|
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user