Merge pull request #3421 from Kuxe/windows_mingw_cmake_preset

Add 'windows-mingw-release' CMake preset
This commit is contained in:
Ivan Savenko
2024-01-05 00:09:28 +02:00
committed by GitHub
6 changed files with 35 additions and 8 deletions
+1 -2
View File
@@ -94,9 +94,8 @@ if(ENABLE_CCACHE)
find_program(CCACHE ccache REQUIRED)
endif()
# On Linux, use ccache via CMAKE_CXX_COMPILER_LAUNCHER.
# The XCode and MSVC builds each require some more configuration further down.
if(ENABLE_CCACHE AND LINUX)
if(ENABLE_CCACHE)
set(CMAKE_C_COMPILER_LAUNCHER "ccache")
set(CMAKE_CXX_COMPILER_LAUNCHER "ccache")
endif()