summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'qmake')
-rw-r--r--qmake/.prev_CMakeLists.txt2
-rw-r--r--qmake/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/qmake/.prev_CMakeLists.txt b/qmake/.prev_CMakeLists.txt
index 5d32aa4251..e926f1d125 100644
--- a/qmake/.prev_CMakeLists.txt
+++ b/qmake/.prev_CMakeLists.txt
@@ -165,7 +165,7 @@ qt_extend_target(qmake CONDITION UNIX
qt_extend_target(qmake CONDITION MACOS
SOURCES
qcore_foundation.mm
- qcore_mac.cpp
+ qcore_mac.mm
qoperatingsystemversion_darwin.mm
qsettings_mac.cpp
PUBLIC_LIBRARIES
diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt
index 4c8160eda5..4f8a37a36c 100644
--- a/qmake/CMakeLists.txt
+++ b/qmake/CMakeLists.txt
@@ -168,7 +168,7 @@ qt_extend_target(qmake CONDITION UNIX
qt_extend_target(qmake CONDITION MACOS
SOURCES
../src/corelib/kernel/qcore_foundation.mm # special case
- ../src/corelib/kernel/qcore_mac.cpp # special case
+ ../src/corelib/kernel/qcore_mac.mm # special case
../src/corelib/global/qoperatingsystemversion_darwin.mm # special case
../src/corelib/io/qsettings_mac.cpp # special case
PUBLIC_LIBRARIES