cmake: Add install command for qtViewer

This commit is contained in:
Esteban DUGUEPEROUX
2025-12-07 20:38:09 +01:00
committed by Thomas Krijnen
parent b4135194ca
commit 02233f86cf
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -17,8 +17,6 @@
# #
################################################################################
cmake_minimum_required(VERSION 3.1.3)
message("Running CMakeLists.txt in /src/qtviewer")
# Specify the Qt version and components to use
@@ -100,3 +98,5 @@ target_include_directories(${targetName} PUBLIC
get_target_property(targetIncludeDirs ${targetName} INCLUDE_DIRECTORIES)
message(STATUS "target_include_directories: ${targetIncludeDirs}")
install(TARGETS ${targetName})
+1 -1
View File
@@ -31,7 +31,7 @@ bool ParseIfcFile::Parse(
settings.set("weld-vertices", false);
settings.set("apply-default-materials", true);
IfcGeom::Iterator* it = new IfcGeom::Iterator(settings, &file);
IfcGeom::Iterator* it = new IfcGeom::Iterator(ifcopenshell::geometry::kernels::construct(&file, "opencascade", settings), settings, &file);
if (!it->initialize()) {
MessageLogger::log("Error: Iterator failed to initialize! Aborting.");
delete it;
+1
View File
@@ -2,6 +2,7 @@
#define PARSEIFCFILE_H
#include "../ifcgeom/Iterator.h"
#include "../ifcgeom/hybrid_kernel.h"
#include "osg/Geometry"
#include "osg/Material"
#include "osg/MatrixTransform"