]> git.jsancho.org Git - lugaru.git/commitdiff
CMake: Fix missing data install on Windows
authorRémi Verschelde <rverschelde@gmail.com>
Fri, 9 Dec 2016 21:32:32 +0000 (22:32 +0100)
committerRémi Verschelde <rverschelde@gmail.com>
Fri, 9 Dec 2016 21:32:32 +0000 (22:32 +0100)
Regression from 4afbc86d0abd136357e88d8c1fe2360a119289e3

CMakeLists.txt

index 0d3af5b9468c5210f390af30aaee4f894d53b3fa..e29f3a748d4b88c590bea7b6154955af6dd51e9e 100644 (file)
@@ -228,6 +228,7 @@ endif(APPLE)
 
 if(WIN32)
     install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/lugaru.exe DESTINATION ${CMAKE_INSTALL_PREFIX})
+    install(DIRECTORY ${CMAKE_SOURCE_DIR}/Data DESTINATION ${CMAKE_INSTALL_PREFIX})
     if(MINGW)
         # Based off Mageia/Fedora MinGW toolchain, might not work on other distros or Windows
         set(LIBGCC_S libgcc_s_sjlj-1.dll)