mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Set LAF_OS_BACKEND only if it's not specified
This commit is contained in:
parent
1b5fd7ccef
commit
4faa875cef
@ -87,10 +87,12 @@ else()
|
||||
set(REQUIRE_CURL OFF)
|
||||
endif()
|
||||
|
||||
if(NOT ENABLE_UI)
|
||||
set(LAF_OS_BACKEND "none") # Without UI, we use the none backend
|
||||
else()
|
||||
set(LAF_OS_BACKEND "skia")
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user