summaryrefslogtreecommitdiff
path: root/packaging/windows/toolchain.cmake.example
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/toolchain.cmake.example')
-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: