aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_track/models/advtrains_dtrack_swrcr.b3d
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-06-05 13:39:34 +0200
committerorwell96 <orwell@bleipb.de>2020-06-05 13:48:12 +0200
commitadvtrains-657446e16346f9b9f21344b3591e7103bbf7c2c8.tar.bz2
advtrains-657446e16346f9b9f21344b3591e7103bbf7c2c8.zip
Fix minetest.after() loop between ARS->update_route->update_signal_aspect->invalidate_path
Diffstat (limited to 'advtrains_train_track/models/advtrains_dtrack_swrcr.b3d')
0 files changed, 0 insertions, 0 deletions
pt">) endif(APPLE) # Modern Linux, as well as OSX, does not require special linking because # GetText is part of glibc. # TODO: check the requirements on other BSDs and older Linux if(WIN32) if(MSVC) set(GETTEXT_LIB_NAMES libintl.lib intl.lib libintl3.lib intl3.lib) else() set(GETTEXT_LIB_NAMES libintl.dll.a intl.dll.a libintl3.dll.a intl3.dll.a) endif() find_library(GETTEXT_LIBRARY NAMES ${GETTEXT_LIB_NAMES} PATHS "${CUSTOM_GETTEXT_PATH}/lib" DOC "GetText library") find_file(GETTEXT_DLL NAMES libintl.dll intl.dll libintl3.dll intl3.dll PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib" DOC "gettext *intl*.dll") find_file(GETTEXT_ICONV_DLL NAMES libiconv2.dll PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib" DOC "gettext *iconv*.lib") set(GETTEXT_REQUIRED_VARS ${GETTEXT_REQUIRED_VARS} GETTEXT_DLL GETTEXT_ICONV_DLL) endif(WIN32) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(GetText DEFAULT_MSG ${GETTEXT_REQUIRED_VARS}) if(GETTEXT_FOUND) # BSD variants require special linkage as they don't use glibc if(${CMAKE_SYSTEM_NAME} MATCHES "BSD") set(GETTEXT_LIBRARY "intl") endif() set(GETTEXT_PO_PATH ${CMAKE_SOURCE_DIR}/po) set(GETTEXT_MO_BUILD_PATH ${CMAKE_BINARY_DIR}/locale/<locale>/LC_MESSAGES) set(GETTEXT_MO_DEST_PATH ${LOCALEDIR}/<locale>/LC_MESSAGES) file(GLOB GETTEXT_AVAILABLE_LOCALES RELATIVE ${GETTEXT_PO_PATH} "${GETTEXT_PO_PATH}/*") list(REMOVE_ITEM GETTEXT_AVAILABLE_LOCALES minetest.pot) list(REMOVE_ITEM GETTEXT_AVAILABLE_LOCALES timestamp) macro(SET_MO_PATHS _buildvar _destvar _locale) string(REPLACE "<locale>" ${_locale} ${_buildvar} ${GETTEXT_MO_BUILD_PATH}) string(REPLACE "<locale>" ${_locale} ${_destvar} ${GETTEXT_MO_DEST_PATH}) endmacro() endif()