Make "" an acceptable option for LINGUAS meaning None
This commit is contained in:
parent
e419e27644
commit
dd36835b49
@ -271,7 +271,7 @@ set(RESOURCES
|
||||
)
|
||||
|
||||
set(LINGUAS "All" CACHE STRING "A space-seperated list of translations to compile in to Clementine, or \"None\".")
|
||||
if (${LINGUAS} STREQUAL "All")
|
||||
if ("${LINGUAS}" STREQUAL "All")
|
||||
set (LANGUAGES
|
||||
ar
|
||||
cs
|
||||
@ -299,14 +299,14 @@ if (${LINGUAS} STREQUAL "All")
|
||||
zh_CN
|
||||
zh_TW
|
||||
)
|
||||
else (${LINGUAS} STREQUAL "All")
|
||||
if (${LINGUAS} STREQUAL "None")
|
||||
else ("${LINGUAS}" STREQUAL "All")
|
||||
if (NOT "${LINGUAS}" OR "${LINGUAS}" STREQUAL "None")
|
||||
set (LANGUAGES "")
|
||||
else (${LINGUAS} STREQUAL "None")
|
||||
else (NOT "${LINGUAS}" OR "${LINGUAS}" STREQUAL "None")
|
||||
string(REGEX MATCHALL [a-zA-Z_]+
|
||||
LANGUAGES ${LINGUAS})
|
||||
endif (${LINGUAS} STREQUAL "None")
|
||||
endif (${LINGUAS} STREQUAL "All")
|
||||
endif (NOT "${LINGUAS}" OR "${LINGUAS}" STREQUAL "None")
|
||||
endif ("${LINGUAS}" STREQUAL "All")
|
||||
|
||||
# Engines
|
||||
set(GST_ENGINE_SRC engines/gstengine.cpp engines/gstequalizer.cpp engines/gstenginepipeline.cpp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user