summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2010-08-04 01:40:33 (GMT)
committerJustin McPherson <justin.mcpherson@nokia.com>2010-08-04 01:40:33 (GMT)
commit262bdce40f7bb38f000eff09ed546a08cfe74fa3 (patch)
tree31dae4ef528d987b50e9e88a2d843e64d08a4c7e /src
parent5569070c39a5778cb9e2ff1bab32993217e788c5 (diff)
downloadQt-262bdce40f7bb38f000eff09ed546a08cfe74fa3.zip
Qt-262bdce40f7bb38f000eff09ed546a08cfe74fa3.tar.gz
Qt-262bdce40f7bb38f000eff09ed546a08cfe74fa3.tar.bz2
Phonon; Update CMakeLists.txt
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/phonon/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/CMakeLists.txt b/src/3rdparty/phonon/CMakeLists.txt
index e2054d3..fd6368c 100644
--- a/src/3rdparty/phonon/CMakeLists.txt
+++ b/src/3rdparty/phonon/CMakeLists.txt
@@ -94,7 +94,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
set( __KDE_HAVE_GCC_VISIBILITY ${__KDE_HAVE_GCC_VISIBILITY} CACHE BOOL "GCC support for hidden visibility")
# get the gcc version
- exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info)
+ exec_program(${CMAKE_C_COMPILER} ARGS ${CMAKE_C_COMPILER_ARG1} --version OUTPUT_VARIABLE _gcc_version_info)
string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the patch level, handle this here: