Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and dfaure-kdab committed Dec 19, 2023
1 parent e9ec3d1 commit 17bc030
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 30 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -314,4 +314,3 @@ if(${PROJECT_NAME}_IS_ROOT_PROJECT)

feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
endif()

5 changes: 4 additions & 1 deletion examples/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ endif()
target_link_libraries(
kdreporttesttools ${QT_LIBRARIES}
)
target_include_directories(kdreporttesttools PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(
kdreporttesttools
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
)
set_target_properties(kdreporttesttools PROPERTIES DEFINE_SYMBOL KDREPORT_BUILD_TESTTOOLS_LIB)
set_target_properties(
kdreporttesttools PROPERTIES SOVERSION ${${PROJECT_NAME}_SOVERSION} VERSION ${${PROJECT_NAME}_VERSION}
Expand Down
58 changes: 30 additions & 28 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ if(KDChart_FOUND)
endif()
set_target_properties(kdreports PROPERTIES DEFINE_SYMBOL KDREPORTS_BUILD_KDREPORTS_LIB)
set_target_properties(kdreports PROPERTIES SOVERSION ${${PROJECT_NAME}_SOVERSION} VERSION ${${PROJECT_NAME}_VERSION})
target_include_directories(kdreports
target_include_directories(
kdreports
INTERFACE "$<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}/KDReports${${PROJECT_NAME}_LIBRARY_QTID}/>"
)
target_include_directories(kdreports
target_include_directories(
kdreports
INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/KDReports>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/KDReports>"
)
Expand Down Expand Up @@ -137,35 +139,35 @@ ecm_generate_headers(
ORIGINAL
CAMELCASE
HEADER_NAMES
KDReportsReport
KDReportsElement
KDReportsChartElement
KDReportsTextElement
KDReportsHtmlElement
KDReportsTableElement
KDReportsAutoTableElement
KDReportsAbstractTableElement
KDReportsImageElement
KDReportsHLineElement
KDReportsPreviewDialog
KDReportsPreviewWidget
KDReportsHeader
KDReportsCell
KDReportsFrame
KDReportsGlobal
KDReportsXmlElementHandler
KDReportsVariableType
KDReportsUnit
KDReportsTableBreakingSettingsDialog
KDReportsMainTable
KDReportsXmlHelper
KDReportsErrorDetails
KDReportsReport
KDReportsElement
KDReportsChartElement
KDReportsTextElement
KDReportsHtmlElement
KDReportsTableElement
KDReportsAutoTableElement
KDReportsAbstractTableElement
KDReportsImageElement
KDReportsHLineElement
KDReportsPreviewDialog
KDReportsPreviewWidget
KDReportsHeader
KDReportsCell
KDReportsFrame
KDReportsGlobal
KDReportsXmlElementHandler
KDReportsVariableType
KDReportsUnit
KDReportsTableBreakingSettingsDialog
KDReportsMainTable
KDReportsXmlHelper
KDReportsErrorDetails
OUTPUT_DIR
${CMAKE_CURRENT_BINARY_DIR}/KDReports
${CMAKE_CURRENT_BINARY_DIR}/KDReports
RELATIVE
KDReports
KDReports
COMMON_HEADER
KDReports
KDReports
)
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/KDReports/KDReports "#include \"KDReports.h\"\n")

Expand Down

0 comments on commit 17bc030

Please sign in to comment.