make sure keys.csv is installed
authoralfadur
Mon, 12 Aug 2019 21:20:00 +0300
changeset 15314 9583c3371371
parent 15313 01bd0a087163
child 15315 272dc9967fd3
make sure keys.csv is installed
share/hedgewars/Data/misc/CMakeLists.txt
--- 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)
+