mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: add configuration option
This commit is contained in:
parent
63317bdec7
commit
36ccf0a24f
@ -33,6 +33,11 @@ find_package(
|
||||
SerialBus
|
||||
Bluetooth)
|
||||
|
||||
option(SAK_BUILD_FOR_APP_SOTRE "Build for Microsoft/Apple app store." OFF)
|
||||
if(SAK_FOR_APP_SOTRE)
|
||||
add_definitions(-DSAK_RELEASE_FOR_APP_STORE)
|
||||
endif()
|
||||
|
||||
if(${QT_VERSION} VERSION_LESS "6.5")
|
||||
message(WARNING "The Qt version is too old, please using Qt6.5 or later.")
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user