mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 14:55:13 -05:00
Fix win32 MSVC compile. (screw gettext)
This commit is contained in:
parent
f5c6e3973c
commit
a19491dbd2
@ -31,8 +31,8 @@ if(WIN32)
|
|||||||
CACHE PATH "gettext include directory")
|
CACHE PATH "gettext include directory")
|
||||||
set(GETTEXT_BIN_DIR "${PROJECT_SOURCE_DIR}/../../gettext/bin"
|
set(GETTEXT_BIN_DIR "${PROJECT_SOURCE_DIR}/../../gettext/bin"
|
||||||
CACHE PATH "gettext bin directory")
|
CACHE PATH "gettext bin directory")
|
||||||
set(GETTEXT_LIBRARIES "${PROJECT_SOURCE_DIR}/../../gettext/lib/intl.lib"
|
set(GETTEXT_LIBRARIES "${PROJECT_SOURCE_DIR}/../../gettext/lib/libintl.lib"
|
||||||
CACHE FILEPATH "gettext intl.lib")
|
CACHE FILEPATH "gettext libintl.lib")
|
||||||
set(IRRLICHT_SOURCE_DIR "${PROJECT_SOURCE_DIR}/../../irrlicht-1.7.2"
|
set(IRRLICHT_SOURCE_DIR "${PROJECT_SOURCE_DIR}/../../irrlicht-1.7.2"
|
||||||
CACHE PATH "irrlicht dir")
|
CACHE PATH "irrlicht dir")
|
||||||
else()
|
else()
|
||||||
@ -277,7 +277,7 @@ if(BUILD_SERVER)
|
|||||||
endif(BUILD_SERVER)
|
endif(BUILD_SERVER)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(GETTEXT_MSGFMT "${GETTEXT_BIN_DIR}/msgfmt" CACHE FILEPATH "path to msgfmt")
|
set(GETTEXT_MSGFMT "${GETTEXT_BIN_DIR}/msgfmt.exe" CACHE FILEPATH "path to msgfmt")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set(GETTEXT_MSGFMT "${GETTEXT_BIN_DIR}/msgfmt" CACHE FILEPATH "path to msgfmt")
|
set(GETTEXT_MSGFMT "${GETTEXT_BIN_DIR}/msgfmt" CACHE FILEPATH "path to msgfmt")
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user