Fix LINGUAS processing
This commit is contained in:
parent
ad9d6e7e73
commit
2ef1fe5ac1
@ -301,7 +301,7 @@ set(RESOURCES
|
|||||||
)
|
)
|
||||||
|
|
||||||
set(LINGUAS "All" CACHE STRING "A space-seperated list of translations to compile in to Clementine, or \"None\".")
|
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
|
set (LANGUAGES
|
||||||
ar
|
ar
|
||||||
cs
|
cs
|
||||||
@ -330,14 +330,14 @@ if ("${LINGUAS}" STREQUAL "All")
|
|||||||
zh_CN
|
zh_CN
|
||||||
zh_TW
|
zh_TW
|
||||||
)
|
)
|
||||||
else ("${LINGUAS}" STREQUAL "All")
|
else (LINGUAS STREQUAL "All")
|
||||||
if (NOT "${LINGUAS}" OR "${LINGUAS}" STREQUAL "None")
|
if (NOT LINGUAS OR LINGUAS STREQUAL "None")
|
||||||
set (LANGUAGES "")
|
set (LANGUAGES "")
|
||||||
else (NOT "${LINGUAS}" OR "${LINGUAS}" STREQUAL "None")
|
else (NOT LINGUAS OR LINGUAS STREQUAL "None")
|
||||||
string(REGEX MATCHALL [a-zA-Z_]+
|
string(REGEX MATCHALL [a-zA-Z_]+
|
||||||
LANGUAGES ${LINGUAS})
|
LANGUAGES ${LINGUAS})
|
||||||
endif (NOT "${LINGUAS}" OR "${LINGUAS}" STREQUAL "None")
|
endif (NOT LINGUAS OR LINGUAS STREQUAL "None")
|
||||||
endif ("${LINGUAS}" STREQUAL "All")
|
endif (LINGUAS STREQUAL "All")
|
||||||
|
|
||||||
# Engines
|
# Engines
|
||||||
set(GST_ENGINE_SRC engines/gstengine.cpp engines/gstequalizer.cpp engines/gstenginepipeline.cpp)
|
set(GST_ENGINE_SRC engines/gstengine.cpp engines/gstequalizer.cpp engines/gstenginepipeline.cpp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user