Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Sep 24, 2023
1 parent ad4e9f2 commit a05c033
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/xtd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ include(../../scripts/cmake/xtd_version.cmake)
add_include_directories(include)
include(references.cmake)

if (XTD_BUILD_LIBRARIES_XTD_FORMS AND XTD_BUILD_LIBRARIES_XTD_DRAWING AND XTD_BUILD_LIBRARIES_XTD_CORE)
add_definitions(-D__SYSTEM__REPORT__=1)
set(SYSTEM_REPORT_FILES include/xtd/system_report.h include/xtd/system_report src/xtd/system_report.cpp)
endif ()

add_sources(
include/xtd/xtd
include/xtd/xtd
include/xtd/xtd.h
${SYSTEM_REPORT_FILES}
include/xtd/system_report.h
include/xtd/system_report
src/xtd/system_report.cpp
)
target_type(${XTD_LIBRARY_TYPE})

Expand Down

0 comments on commit a05c033

Please sign in to comment.