workaround for bug in CMake - fixes update-locales target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1379 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -338,7 +338,11 @@ FOREACH(_ts_file ${lmms_LOCALES})
|
||||
ADD_CUSTOM_TARGET(${_qm_target} COMMAND ${QT_LRELEASE_EXECUTABLE} ${_ts_file} -qm ${_qm_file})
|
||||
LIST(APPEND locale_targets "${_ts_target}")
|
||||
ENDFOREACH(_ts_file ${lmms_LOCALES})
|
||||
ADD_CUSTOM_TARGET(update-locales DEPENDS ${locale_targets})
|
||||
ADD_CUSTOM_TARGET(update-locales)# DEPENDS ${locale_targets}) # does not work
|
||||
FOREACH(_item ${locale_targets})
|
||||
ADD_DEPENDENCIES(update-locales ${_item})
|
||||
ENDFOREACH(_item ${locale_targets})
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user