CMake: Skip pot on MSVC
This commit is contained in:
parent
148ae530d8
commit
7dd959f4a1
|
@ -1029,6 +1029,7 @@ if(HAVE_TRANSLATIONS)
|
|||
endif(NOT LINGUAS OR LINGUAS STREQUAL "None")
|
||||
endif(LINGUAS STREQUAL "All")
|
||||
|
||||
if(NOT MSVC)
|
||||
add_pot(POT
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/translations/header
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/translations/translations.pot
|
||||
|
@ -1037,6 +1038,7 @@ if(HAVE_TRANSLATIONS)
|
|||
${UIC}
|
||||
${CMAKE_SOURCE_DIR}/data/html/oauthsuccess.html
|
||||
)
|
||||
endif()
|
||||
add_po(PO strawberry_ LANGUAGES ${LANGUAGES} DIRECTORY translations)
|
||||
|
||||
endif(HAVE_TRANSLATIONS)
|
||||
|
|
Loading…
Reference in New Issue