--- a/share/hedgewars/Data/misc/CMakeLists.txt Mon Aug 12 14:56:27 2019 +0300
+++ b/share/hedgewars/Data/misc/CMakeLists.txt Mon Aug 12 21:20:00 2019 +0300
@@ -4,8 +4,11 @@
file(GLOB miscfiles *.svg *.xml *.desktop *.csv)
- 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)
+else()
+ file(GLOB miscfiles *.csv)
endif()
+install(FILES ${miscfiles} DESTINATION ${SHAREPATH}/Data/misc)
+