diff options
author | Bernd Wachter <bwachter-tmw@lart.info> | 2010-01-23 14:56:36 +0100 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-23 16:53:34 -0700 |
commit | b00649b50159f963fd535477987398becbdc3a35 (patch) | |
tree | 764e2071b356c2d8f9a1e8c65524654265ee3f92 /src/CMakeLists.txt | |
parent | fc3c62f2d68851b89b345a7aa7852d4a22f848dc (diff) | |
download | mana-b00649b50159f963fd535477987398becbdc3a35.tar.gz mana-b00649b50159f963fd535477987398becbdc3a35.tar.bz2 mana-b00649b50159f963fd535477987398becbdc3a35.tar.xz mana-b00649b50159f963fd535477987398becbdc3a35.zip |
Link explicitely to libintl on Win32 builds
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c06f7d92..beaef3e4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,6 +16,7 @@ SET(FLAGS "${FLAGS} -DLOCALEDIR=\\\"${LOCALEDIR}/\\\"") IF (WIN32) SET(EXTRA_LIBRARIES ws2_32 winmm) + FIND_PACKAGE(LibIntl REQUIRED) ELSEIF (CMAKE_SYSTEM_NAME STREQUAL SunOS) # explicit linking to libintl is required on Solaris SET(EXTRA_LIBRARIES intl) @@ -563,6 +564,7 @@ FOREACH(program ${PROGRAMS}) ${LIBXML2_LIBRARIES} ${GUICHAN_LIBRARIES} ${OPENGL_LIBRARIES} + ${LIBINTL_LIBRARIES} ${EXTRA_LIBRARIES}) INSTALL(TARGETS ${program} RUNTIME DESTINATION ${PKG_BINDIR}) ENDFOREACH(program) |