aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-modules/KDECompilerSettings.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake
index 46b7719c..bfbf4b67 100644
--- a/kde-modules/KDECompilerSettings.cmake
+++ b/kde-modules/KDECompilerSettings.cmake
@@ -366,6 +366,12 @@ if (WIN32)
)
endif()
+if (APPLE)
+ #full Single Unix Standard v3 (SUSv3) conformance (the Unix API)
+ _kde_add_platform_definitions(-D_DARWIN_C_SOURCE)
+ #Cocoa is unconditional since we only support OS X 10.6 and above
+ _kde_add_platform_definitions(-DQT_MAC_USE_COCOA)
+endif()
############################################################