Add CMAKE_SYSTEM_PROCESSOR to the CMake toolchain files

This commit is contained in:
Erik van Pienbroek 2015-04-10 18:05:11 +02:00
parent faf1180f11
commit 475f0ff26f
3 changed files with 3 additions and 0 deletions

View File

@ -314,6 +314,7 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
* The toolchain files /usr/share/data/mingw/toolchain-mingw32.cmake * The toolchain files /usr/share/data/mingw/toolchain-mingw32.cmake
and /usr/share/data/mingw/toolchain-mingw64.cmake don't have and /usr/share/data/mingw/toolchain-mingw64.cmake don't have
an uppercase character in their file name any more 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 <rel-eng@lists.fedoraproject.org> * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -1,4 +1,5 @@
SET(CMAKE_SYSTEM_NAME Windows) SET(CMAKE_SYSTEM_NAME Windows)
SET(CMAKE_SYSTEM_PROCESSOR x86)
# specify the cross compiler # specify the cross compiler
SET(CMAKE_C_COMPILER /usr/bin/i686-w64-mingw32-gcc) SET(CMAKE_C_COMPILER /usr/bin/i686-w64-mingw32-gcc)

View File

@ -1,4 +1,5 @@
SET(CMAKE_SYSTEM_NAME Windows) SET(CMAKE_SYSTEM_NAME Windows)
SET(CMAKE_SYSTEM_PROCESSOR x86_64)
# specify the cross compiler # specify the cross compiler
SET(CMAKE_C_COMPILER /usr/bin/x86_64-w64-mingw32-gcc) SET(CMAKE_C_COMPILER /usr/bin/x86_64-w64-mingw32-gcc)