diff --git a/BREAKING-CHANGES.txt b/BREAKING-CHANGES.txt index a71ed832eb..25023ee22e 100644 --- a/BREAKING-CHANGES.txt +++ b/BREAKING-CHANGES.txt @@ -1,6 +1,31 @@ JUCE breaking changes ===================== +develop +======= + +Change +------ +The minimum supported CMake version is now 3.22. + +Possible Issues +--------------- +It will no longer be possible to configure JUCE projects with CMake versions +between 3.15 and 3.21 inclusive. + +Workaround +---------- +No workaround is available. Newer versions of CMake can be obtained from the +official download page, or through system package managers. + +Rationale +--------- +Moving to CMake 3.22 improves consistency with the Projucer's Android exporter, +which already requires CMake 3.22. It also allows us to make use of the +XCODE_EMBED_APP_EXTENSIONS property (introduced in CMake 3.21), fixing an +issue when archiving AUv3 plugins. + + Version 7.0.6 ============= @@ -1060,7 +1085,7 @@ querying the capabilities of the current context at runtime. Change ------ -The minimum support CMake version is now 3.15. +The minimum supported CMake version is now 3.15. Possible Issues --------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 714216a3e7..6696588b6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ # # ============================================================================== -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.22) project(JUCE VERSION 7.0.6 LANGUAGES C CXX) diff --git a/extras/Build/CMake/JUCEModuleSupport.cmake b/extras/Build/CMake/JUCEModuleSupport.cmake index 73fcd3fe8b..f353be4e32 100644 --- a/extras/Build/CMake/JUCEModuleSupport.cmake +++ b/extras/Build/CMake/JUCEModuleSupport.cmake @@ -33,7 +33,7 @@ # ================================================================================================== include_guard(GLOBAL) -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.22) # ================================================================================================== diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake index 0a6218f32d..8f3d774422 100644 --- a/extras/Build/CMake/JUCEUtils.cmake +++ b/extras/Build/CMake/JUCEUtils.cmake @@ -33,7 +33,7 @@ # ================================================================================================== include_guard(GLOBAL) -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.22) define_property(TARGET PROPERTY JUCE_COMPANY_NAME INHERITED BRIEF_DOCS "The company name for a particular target"