2016-08-22 20:52:34 +01:00
|
|
|
This file is part of MXE. See LICENSE.md for licensing information.
|
2016-08-11 17:10:23 +01:00
|
|
|
|
|
|
|
Contains ad hoc patches for cross building.
|
|
|
|
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Tony Theodore <tonyt@logyst.com>
|
|
|
|
Date: Fri, 12 Aug 2016 02:01:20 +1000
|
|
|
|
Subject: [PATCH] fix windres invocation options
|
|
|
|
|
|
|
|
windres doesn't recognise various gcc flags like -mms-bitfields,
|
|
|
|
-fopenmp, -mthreads etc. (basically not `-D` or `-I`)
|
|
|
|
|
|
|
|
diff --git a/Modules/Platform/Windows-windres.cmake b/Modules/Platform/Windows-windres.cmake
|
|
|
|
index 1111111..2222222 100644
|
|
|
|
--- a/Modules/Platform/Windows-windres.cmake
|
|
|
|
+++ b/Modules/Platform/Windows-windres.cmake
|
|
|
|
@@ -1 +1 @@
|
|
|
|
-set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff <DEFINES> <INCLUDES> <FLAGS> <SOURCE> <OBJECT>")
|
|
|
|
+set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff <DEFINES> <INCLUDES> <SOURCE> <OBJECT>")
|