Skip to content

Commit

Permalink
make Furnace build using CMake 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Feb 22, 2025
1 parent 165b814 commit c02e80a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion extern/backward/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.0...3.20)
project(backward CXX)

# Introduce variables:
Expand Down
2 changes: 1 addition & 1 deletion extern/emu2413/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.0...3.20)
project(emu2413)

if(MSVC)
Expand Down
2 changes: 1 addition & 1 deletion extern/fftw/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required (VERSION 3.0...3.20)

if (NOT DEFINED CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type")
Expand Down
2 changes: 1 addition & 1 deletion extern/freetype/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

# To minimize the number of cmake_policy() workarounds,
# CMake >= 3 is requested.
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.0...3.20)

if (NOT CMAKE_VERSION VERSION_LESS 3.3)
# Allow symbol visibility settings also on static libraries. CMake < 3.3
Expand Down
4 changes: 2 additions & 2 deletions extern/pfd-fixed/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1.0)
cmake_minimum_required(VERSION 3.1...3.20)

project(portable_file_dialogs VERSION 1.00 LANGUAGES CXX)

add_library(${PROJECT_NAME} INTERFACE)
target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
2 changes: 1 addition & 1 deletion extern/rtmidi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# additional modifications for Furnace by tildearrow.

# Set minimum CMake required version for this project.
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.5...3.20)

# Define a C++ project.
project(RtMidi LANGUAGES CXX C)
Expand Down
4 changes: 2 additions & 2 deletions extern/vgsound_emu-modified/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# CMake for vgsound_emu
#

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.0...3.20)
project(vgsound_emu
VERSION 2.1.1
LANGUAGES CXX)
Expand Down Expand Up @@ -233,4 +233,4 @@ endif()
target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})

# for Test purpose (GCC)
# target_compile_options(vgsound_emu PRIVATE -Wall -Wextra -Werror)
# target_compile_options(vgsound_emu PRIVATE -Wall -Wextra -Werror)
2 changes: 1 addition & 1 deletion extern/zlib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.4.4)
cmake_minimum_required(VERSION 3.0...3.20)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)

project(zlib C)
Expand Down

0 comments on commit c02e80a

Please sign in to comment.