summaryrefslogtreecommitdiff
path: root/Source/cmake/OptionsQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake/OptionsQt.cmake')
-rw-r--r--Source/cmake/OptionsQt.cmake8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmake/OptionsQt.cmake b/Source/cmake/OptionsQt.cmake
index ee59d7738..f73bc4146 100644
--- a/Source/cmake/OptionsQt.cmake
+++ b/Source/cmake/OptionsQt.cmake
@@ -67,16 +67,11 @@ if (WIN32)
set(CMAKE_SHARED_MODULE_PREFIX "")
endif ()
-if (APPLE)
- if (${CMAKE_BUILD_TYPE} MATCHES "Debug")
- set(CMAKE_DEBUG_POSTFIX _debug)
- endif ()
-endif ()
-
WEBKIT_OPTION_BEGIN()
if (APPLE)
option(MACOS_FORCE_SYSTEM_XML_LIBRARIES "Use system installation of libxml2 and libxslt on macOS" ON)
+ set(MACOS_BUILD_FRAMEWORKS ON) # TODO: Make it an option
endif ()
if (WIN32 OR APPLE)
@@ -241,6 +236,7 @@ get_target_property(QT_CORE_TYPE Qt5::Core TYPE)
if (QT_CORE_TYPE MATCHES STATIC)
set(QT_STATIC_BUILD ON)
set(SHARED_CORE OFF)
+ set(MACOS_BUILD_FRAMEWORKS OFF)
endif ()
if (SHARED_CORE)