chore: update the file

This commit is contained in:
x-tools-author 2025-02-26 13:17:58 +08:00
parent 524f0040d2
commit 8e5c1c7e0a

View File

@ -226,6 +226,7 @@ endif()
# Qt Charts module
find_package(Qt${QT_VERSION_MAJOR} QUIET COMPONENTS Charts)
if(Qt${QT_VERSION_MAJOR}Charts_FOUND)
option(X_TOOLS_ENABLE_CHARTS "Enable Charts module" ON)
add_compile_definitions(X_TOOLS_ENABLE_CHARTS)
else()
message(STATUS "Charts module is disable, chart files will be removed.")