From: RĂ©mi Verschelde Date: Fri, 9 Dec 2016 21:32:32 +0000 (+0100) Subject: CMake: Fix missing data install on Windows X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=ef96c6ed7713504b02c5ee9c00c4092ec07565ab CMake: Fix missing data install on Windows Regression from 4afbc86d0abd136357e88d8c1fe2360a119289e3 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d3af5b..e29f3a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)