Fix the handling of quoted arguments in the cmake macros

This commit is contained in:
Erik van Pienbroek 2012-08-13 20:56:01 +02:00
parent 7b07576344
commit 328f054f6a
3 changed files with 8 additions and 5 deletions

View File

@ -140,7 +140,7 @@
-DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/Toolchain-mingw32.cmake \\\
${MINGW_CMAKE_ARGS} \\\
${MINGW32_CMAKE_ARGS} \\\
$@ $__mingw32_topdir
"$@" $__mingw32_topdir
%mingw32_cmake_kde4 %{mingw32_env} ; \
if test -f CMakeLists.txt; then __mingw32_topdir=.; \\\
@ -159,7 +159,7 @@
-DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/Toolchain-mingw32.cmake \\\
${MINGW_CMAKE_ARGS} \\\
${MINGW32_CMAKE_ARGS} \\\
$@ $__mingw32_topdir
"$@" $__mingw32_topdir
%mingw32_qmake_qt4 %{mingw32_env} ; \
/usr/bin/mingw32-qmake-qt4

View File

@ -140,7 +140,7 @@
-DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/Toolchain-mingw64.cmake \\\
${MINGW_CMAKE_ARGS} \\\
${MINGW64_CMAKE_ARGS} \\\
$@ $__mingw64_topdir
"$@" $__mingw64_topdir
%mingw64_cmake_kde4 %{mingw64_env} ; \
if test -f CMakeLists.txt; then __mingw64_topdir=.; \\\
@ -159,7 +159,7 @@
-DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/Toolchain-mingw64.cmake \\\
${MINGW_CMAKE_ARGS} \\\
${MINGW64_CMAKE_ARGS} \\\
$@ $__mingw64_topdir
"$@" $__mingw64_topdir
%mingw64_qmake_qt4 %{mingw64_env} ; \
/usr/bin/mingw64-qmake-qt4

View File

@ -2,7 +2,7 @@
Name: mingw-filesystem
Version: 95
Release: 13%{?dist}
Release: 14%{?dist}
Summary: MinGW cross compiler base filesystem and environment
Group: Development/Libraries
@ -246,6 +246,9 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
%changelog
* Mon Aug 13 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-14
- Fix the handling of quoted arguments in the cmake macros
* Tue Jul 24 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-13
- Make sure the %%mingw_cmake and %%mingw_cmake_kde4 macros respect the
environment variable MINGW_BUILDDIR_SUFFIX