CMakeLists: add potential support for MSVC.

I won't provide actual support for it because MSVC sucks, but if someone wants
to use it or Clang-cl, now they can.
This commit is contained in:
Guillaume Jacquemin 2023-08-27 21:58:14 +02:00
parent abac0570a4
commit 1af948fe03
Signed by: williamjcm
SSH Key Fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ project(MassBuilderSaveTool)
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/modules/" ${CMAKE_MODULE_PATH})
set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
if(MINGW)
set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) # This _shouldn't_ be needed, but, anything's possible...
endif()
set(CORRADE_BUILD_DEPRECATED OFF CACHE BOOL "" FORCE)
set(CORRADE_BUILD_STATIC ON CACHE BOOL "" FORCE)