mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 00:40:08 +00:00
Set LAF_OS_BACKEND only if it's not specified
This commit is contained in:
parent
1b5fd7ccef
commit
4faa875cef
@ -87,11 +87,13 @@ else()
|
||||
set(REQUIRE_CURL OFF)
|
||||
endif()
|
||||
|
||||
if(NOT LAF_OS_BACKEND)
|
||||
if(NOT ENABLE_UI)
|
||||
set(LAF_OS_BACKEND "none") # Without UI, we use the none backend
|
||||
else()
|
||||
set(LAF_OS_BACKEND "skia")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Check valid gtk + libpng combination
|
||||
if(LAF_OS_WITH_GTK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user