Merge pull request #246 from OdyX/dev-fix-mxe-build
Only use PO4A on desktop file and manpages on non-Windows buildsdev-ui
commit
47bc95a47c
|
@ -73,11 +73,6 @@ if(NOT PLATFORM_WINDOWS)
|
|||
|
||||
endif()
|
||||
|
||||
else() # if(NOT PLATFORM_WINDOWS)
|
||||
set(COLOBOT_VERSION_4COMMAS "${COLOBOT_VERSION_MAJOR},${COLOBOT_VERSION_MINOR},${COLOBOT_VERSION_REVISION},0")
|
||||
configure_file(colobot.rc.cmake ${CMAKE_CURRENT_BINARY_DIR}/colobot.rc)
|
||||
endif()
|
||||
|
||||
# Translate translatable material
|
||||
find_program(PO4A po4a)
|
||||
|
||||
|
@ -103,3 +98,7 @@ if(PO4A)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
else() # if(NOT PLATFORM_WINDOWS)
|
||||
set(COLOBOT_VERSION_4COMMAS "${COLOBOT_VERSION_MAJOR},${COLOBOT_VERSION_MINOR},${COLOBOT_VERSION_REVISION},0")
|
||||
configure_file(colobot.rc.cmake ${CMAKE_CURRENT_BINARY_DIR}/colobot.rc)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue