Add macro for disabling fonts bundling
This commit is contained in:
parent
e4214668a5
commit
7b68f17156
2 changed files with 8 additions and 0 deletions
|
|
@ -26,6 +26,13 @@ if (DESKTOP_APP_USE_PACKAGED)
|
|||
)
|
||||
endif()
|
||||
|
||||
if (DESKTOP_APP_USE_PACKAGED_FONTS)
|
||||
target_compile_definitions(common_options
|
||||
INTERFACE
|
||||
DESKTOP_APP_USE_PACKAGED_FONTS
|
||||
)
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
include(cmake/options_win.cmake)
|
||||
elseif (APPLE)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ if (DESKTOP_APP_SPECIAL_TARGET STREQUAL "osx")
|
|||
endif()
|
||||
|
||||
option(DESKTOP_APP_USE_PACKAGED_RLOTTIE "Find rlottie using CMake instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||
option(DESKTOP_APP_USE_PACKAGED_FONTS "Use preinstalled fonts instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||
|
||||
if (DESKTOP_APP_SPECIAL_TARGET STREQUAL ""
|
||||
OR DESKTOP_APP_SPECIAL_TARGET STREQUAL "uwp"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue