Prevent entering “/”, “\” and “:” in team and scheme names.
The name of teams and schems is saved in the file name itself, so these characters would cause trouble as they are used in path names in Linux and Windows.
if(UNIX AND NOT APPLE)
configure_file(hwengine.desktop.in hwengine.desktop)
file(GLOB miscfiles *.svg *.xml *.desktop)
install(FILES ${miscfiles} DESTINATION ${SHAREPATH}/Data/misc)
install(FILES hedgewars.xpm DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
install(FILES hedgewars.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
endif()