mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-02 21:03:00 +00:00
C++: don't force the SLINT_STYLE cmake variable
Keep the default if unset, otherwise use whatever SLINT_STYLE was passed
This commit is contained in:
parent
ced9504635
commit
29d28dc73e
3 changed files with 12 additions and 5 deletions
|
|
@ -30,4 +30,5 @@ set(_IMPORT_PREFIX)
|
|||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/SlintTargets.cmake")
|
||||
|
||||
set(SLINT_STYLE @SLINT_STYLE_DEFAULT@ CACHE STRING "The Slint widget style")
|
||||
set(SLINT_STYLE @_SLINT_STYLE@ CACHE STRING "The Slint widget style")
|
||||
set_property(GLOBAL PROPERTY SLINT_STYLE ${SLINT_STYLE})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue