Adds latest migration results
This commit is contained in:
829 files changed
+35074
-70886
No files matched your search
@@ -6,7 +6,9 @@
|
||||
# Created by Christian Ehrlicher, SLSE, 2017-12-05
|
||||
#
|
||||
|
||||
FIND_PACKAGE(KDReports)
|
||||
if(QT6_GUI_AVAILABLE)
|
||||
find_package(KDReports QUIET)
|
||||
endif()
|
||||
|
||||
SET(SRCS
|
||||
printing_base.cpp
|
||||
@@ -15,23 +17,25 @@ SET(SRCS
|
||||
printing.h
|
||||
)
|
||||
|
||||
if (KDReports_FOUND AND BUILD_CODIFICATION)
|
||||
if (KDReports_FOUND AND QT6_GUI_AVAILABLE AND BUILD_CODIFICATION)
|
||||
NGL_ADD_LIBRARY2(WS LtsPrinting SHARED ${SRCS})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(LtsPrinting
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../
|
||||
)
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsPrinting
|
||||
PRIVATE
|
||||
KDReports::KDReports
|
||||
LtsSessionData
|
||||
LtsSession
|
||||
nglsettings
|
||||
ngltools
|
||||
PUBLIC
|
||||
Qt6::PrintSupport
|
||||
Qt6::Core
|
||||
)
|
||||
if(QT6_GUI_AVAILABLE)
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsPrinting
|
||||
PRIVATE
|
||||
KDReports::KDReports
|
||||
LtsSessionData
|
||||
LtsSession
|
||||
nglsettings
|
||||
ngltools
|
||||
PUBLIC
|
||||
Qt6::PrintSupport
|
||||
Qt6::Core
|
||||
)
|
||||
endif()
|
||||
NGL_INSTALL_TARGET(LtsPrinting)
|
||||
else()
|
||||
message(STATUS "KDReports not found or BUILD_RTI disabled; skipping LtsPrinting target")
|
||||
|
||||
Reference in new issue
Block a user