diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec index ea9bc69..414b014 100644 --- a/mingw-filesystem.spec +++ b/mingw-filesystem.spec @@ -314,6 +314,7 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/ * The toolchain files /usr/share/data/mingw/toolchain-mingw32.cmake and /usr/share/data/mingw/toolchain-mingw64.cmake don't have an uppercase character in their file name any more + * Add CMAKE_SYSTEM_PROCESSOR to the CMake toolchain files * Sat Jun 07 2014 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/toolchain-mingw32.cmake b/toolchain-mingw32.cmake index da8846b..878257d 100644 --- a/toolchain-mingw32.cmake +++ b/toolchain-mingw32.cmake @@ -1,4 +1,5 @@ SET(CMAKE_SYSTEM_NAME Windows) +SET(CMAKE_SYSTEM_PROCESSOR x86) # specify the cross compiler SET(CMAKE_C_COMPILER /usr/bin/i686-w64-mingw32-gcc) diff --git a/toolchain-mingw64.cmake b/toolchain-mingw64.cmake index 5f70ced..d6b36a7 100644 --- a/toolchain-mingw64.cmake +++ b/toolchain-mingw64.cmake @@ -1,4 +1,5 @@ SET(CMAKE_SYSTEM_NAME Windows) +SET(CMAKE_SYSTEM_PROCESSOR x86_64) # specify the cross compiler SET(CMAKE_C_COMPILER /usr/bin/x86_64-w64-mingw32-gcc)