mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Merge pull request #683 from thopiekar/master-i18n-cmake-fix
CMake: Remove all slashes from language codes
This commit is contained in:
commit
16bb754da2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue