aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWeedy <weedy2887@gmail.com>2011-07-21 02:30:21 -0400
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-21 09:03:17 +0200
commita19491dbd21b7c58b8ed3016540aec884a7e9c3b (patch)
treef193a3ebe301769f226c8c6caeaacbc7b64a3e01 /src
parentf5c6e3973cfeadead32c8211cbbbe419a9f8922e (diff)
downloadminetest-a19491dbd21b7c58b8ed3016540aec884a7e9c3b.tar.gz
minetest-a19491dbd21b7c58b8ed3016540aec884a7e9c3b.tar.bz2
minetest-a19491dbd21b7c58b8ed3016540aec884a7e9c3b.zip
Fix win32 MSVC compile. (screw gettext)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 72f79976c..a578eeb79 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -31,8 +31,8 @@ if(WIN32)
CACHE PATH "gettext include directory")
set(GETTEXT_BIN_DIR "${PROJECT_SOURCE_DIR}/../../gettext/bin"
CACHE PATH "gettext bin directory")
- set(GETTEXT_LIBRARIES "${PROJECT_SOURCE_DIR}/../../gettext/lib/intl.lib"
- CACHE FILEPATH "gettext intl.lib")
+ set(GETTEXT_LIBRARIES "${PROJECT_SOURCE_DIR}/../../gettext/lib/libintl.lib"
+ CACHE FILEPATH "gettext libintl.lib")
set(IRRLICHT_SOURCE_DIR "${PROJECT_SOURCE_DIR}/../../irrlicht-1.7.2"
CACHE PATH "irrlicht dir")
else()
@@ -277,7 +277,7 @@ if(BUILD_SERVER)
endif(BUILD_SERVER)
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)
set(GETTEXT_MSGFMT "${GETTEXT_BIN_DIR}/msgfmt" CACHE FILEPATH "path to msgfmt")
else()