summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-02-06 20:43:31 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-02-14 02:16:40 +0100
commitd8cd477c05bda13b3fa231198f40dde3d6871eae (patch)
treee3ad7397ff51332deae3ad8b7a5c852c1b2d2b82
parentcf95438fa3ffcded855720669a87f2fa662de35d (diff)
downloadmana-client-d8cd477c05bda13b3fa231198f40dde3d6871eae.tar.gz
mana-client-d8cd477c05bda13b3fa231198f40dde3d6871eae.tar.bz2
mana-client-d8cd477c05bda13b3fa231198f40dde3d6871eae.tar.xz
mana-client-d8cd477c05bda13b3fa231198f40dde3d6871eae.zip
Set the toolchain windres binary, and add an example path to mingw32.
-rw-r--r--packaging/windows/toolchain.cmake.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/windows/toolchain.cmake.example b/packaging/windows/toolchain.cmake.example
index 0e99bd37..707246d0 100644
--- a/packaging/windows/toolchain.cmake.example
+++ b/packaging/windows/toolchain.cmake.example
@@ -9,9 +9,14 @@ ENDIF()
SET(CMAKE_C_COMPILER ${TOOLCHAIN}gcc)
SET(CMAKE_CXX_COMPILER ${TOOLCHAIN}g++)
+# which rc compiler to use
+SET(CMAKE_RC_COMPILER ${TOOLCHAIN}windres)
+
# here is the target environment located
# the directories specified here should contain two directories,
# 'include' for the headers, 'lib' for dlls and .a files
+# For instance, the mingw32 headers can be installed at:
+# /usr/i586-mingw32msvc/
SET(CMAKE_FIND_ROOT_PATH /build/mingw32 /build/tmw-libs )
# adjust the default behaviour of the FIND_XXX() commands: