From 8ffce4d2f3ab29677b466238ce900a85b6c9d693 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 9 Jun 2015 20:11:20 +0100 Subject: Fix various issues with the nationalchars module. - Strip the directory name in the default casemapping value. - Error out if the casemapping value contains a space. - Error out if the locale file failed to load. - Fix relative file path when building on Windows. - Install nationalchars files on Windows. --- win/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win') diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt index 087bd7970..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 .) -- cgit v1.2.3