summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2013-09-12 18:10:16 +0200
committerPierre Bourdon <delroth@gmail.com>2013-09-12 18:22:31 +0200
commit44066326ff3b0ad4aa691d13cd6882fa481fb2bc (patch)
tree5617e06620aaa33abf0ab7bd4aae7c673b684248 /Source/Core
parentc1ddeacc9d090ac2c535a6044ac541a8087cfe8b (diff)
Hack the gettext detection a bit to fix translations not working on OSX buildbot builds
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt
index a6dcba128f..cf75db6a75 100644
--- a/Source/Core/DolphinWX/CMakeLists.txt
+++ b/Source/Core/DolphinWX/CMakeLists.txt
@@ -175,7 +175,7 @@ if(USE_UPNP)
endif()
include(FindGettext)
-if(GETTEXT_FOUND AND wxWidgets_FOUND)
+if(GETTEXT_MSGMERGE_EXECUTABLE AND GETTEXT_MSGFMT_EXECUTABLE AND wxWidgets_FOUND)
file(GLOB LINGUAS ${CMAKE_SOURCE_DIR}/Languages/po/*.po)
add_custom_target(translations ALL)
GETTEXT_CREATE_TRANSLATIONS(${CMAKE_SOURCE_DIR}/Languages/po/dolphin-emu.pot ${LINGUAS})
@@ -261,7 +261,7 @@ else()
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/did_copy_data_into_bundle
)
- if(GETTEXT_FOUND AND wxWidgets_FOUND)
+ if(GETTEXT_MSGMERGE_EXECUTABLE AND GETTEXT_MSGFMT_EXECUTABLE AND wxWidgets_FOUND)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/copy_translations_into_bundle.cmake "
file(GLOB TRANSLATION_FILES RELATIVE ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/*.gmo