mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-15 13:48:09 +00:00
Enabled option to build QtViewer
This commit is contained in:
committed by
Thomas Krijnen
parent
0cf3c97eb2
commit
9cd3d73a23
@@ -66,8 +66,8 @@ IF(NOT CMAKE_BUILD_TYPE)
|
|||||||
SET(CMAKE_BUILD_TYPE "Release")
|
SET(CMAKE_BUILD_TYPE "Release")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# TODO QtViewer is deprecated ATM as it uses the 0.4 API
|
# QtViewer requires Qt5
|
||||||
# OPTION(BUILD_QTVIEWER "Build IfcOpenShell Qt GUI Viewer (requires Qt 4 framework)." OFF)
|
OPTION(BUILD_QTVIEWER "Build IfcOpenShell Qt GUI Viewer" ON)
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
if((BUILD_CONVERT OR BUILD_GEOMSERVER OR BUILD_IFCPYTHON) AND (NOT BUILD_IFCGEOM))
|
if((BUILD_CONVERT OR BUILD_GEOMSERVER OR BUILD_IFCPYTHON) AND (NOT BUILD_IFCGEOM))
|
||||||
message(STATUS "'IfcGeom' is required with current outputs")
|
message(STATUS "'IfcGeom' is required with current outputs")
|
||||||
@@ -885,6 +885,9 @@ INSTALL(FILES ${SERIALIZERS_S_FILES}
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
IF(BUILD_QTVIEWER)
|
||||||
|
ADD_SUBDIRECTORY(../src/qtviewer qtviewer)
|
||||||
|
endif()
|
||||||
|
|
||||||
list(APPEND CPACK_SOURCE_IGNORE_FILES
|
list(APPEND CPACK_SOURCE_IGNORE_FILES
|
||||||
.git
|
.git
|
||||||
|
|||||||
Reference in New Issue
Block a user