mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Merge pull request #3421 from Kuxe/windows_mingw_cmake_preset
Add 'windows-mingw-release' CMake preset
This commit is contained in:
+1
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user