X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2FCMakeLists.txt;h=10653cf74a13692c75f618c444341c463096275a;hb=4e3d7a6e30eadf714483994681b8b2534229f4a8;hp=e6a854d998539cbbb98cd42e0857429e269c1eb7;hpb=d5991ed65206a4a493d2e263b46484a4b270ca2e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt index e6a854d99..10653cf74 100644 --- a/win/CMakeLists.txt +++ b/win/CMakeLists.txt @@ -74,6 +74,10 @@ install(FILES ${EXTRA_DLLS} DESTINATION .) file(GLOB_RECURSE EXAMPLE_CONFIGS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${INSPIRCD_BASE}/docs/conf/*.example") install(FILES ${EXAMPLE_CONFIGS} DESTINATION conf) +# Install nationalchars files +file(GLOB_RECURSE EXAMPLE_LOCALES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${INSPIRCD_BASE}/locales/*") +install(FILES ${EXAMPLE_LOCALES} DESTINATION locales) + # Create an empty data and logs directory and install them file(MAKE_DIRECTORY ${DATA_PATH}) install(DIRECTORY ${DATA_PATH} DESTINATION .) @@ -99,7 +103,7 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") set(CPACK_NSIS_MUI_UNIICON "${INSPIRCD_BASE}/win\\\\inspircd.ico") set(CPACK_NSIS_INSTALLED_ICON_NAME "inspircd.exe") set(CPACK_NSIS_URL_INFO_ABOUT "http://www.inspircd.org/") - set(CPACK_NSIS_COMPRESSOR "/SOLID lzma") + set(CPACK_NSIS_COMPRESSOR "/SOLID zlib") include(CPack) endif(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")