From d8cd477c05bda13b3fa231198f40dde3d6871eae Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 6 Feb 2011 20:43:31 +0100 Subject: Set the toolchain windres binary, and add an example path to mingw32. --- packaging/windows/toolchain.cmake.example | 5 +++++ 1 file changed, 5 insertions(+) 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: -- cgit v1.2.3-70-g09d2