mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:39:03 +08:00
Merge pull request #682 from thopiekar/2.1-i18n-cmake-fix
CMake: Remove all slashes from language codes
This commit is contained in:
commit
9294b14677
@ -17,6 +17,7 @@ MACRO(SUBDIRLIST result curdir)
|
|||||||
SET(dirlist "")
|
SET(dirlist "")
|
||||||
FOREACH(child ${children})
|
FOREACH(child ${children})
|
||||||
IF(IS_DIRECTORY ${curdir}/${child})
|
IF(IS_DIRECTORY ${curdir}/${child})
|
||||||
|
STRING(REPLACE "/" "" child ${child})
|
||||||
LIST(APPEND dirlist ${child})
|
LIST(APPEND dirlist ${child})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDFOREACH()
|
ENDFOREACH()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user