Enable CMake option override policy & fix compilation error.

This commit is contained in:
Skyth 2024-12-19 23:10:46 +03:00
parent 95487a5293
commit 849463e13a
2 changed files with 4 additions and 0 deletions

View file

@ -46,6 +46,7 @@ using Microsoft::WRL::ComPtr;
#include <set> #include <set>
#include <fmt/core.h> #include <fmt/core.h>
#include <list> #include <list>
#include <semaphore>
#include "framework.h" #include "framework.h"
#include "mutex.h" #include "mutex.h"

View file

@ -1,8 +1,11 @@
cmake_policy(SET CMP0077 NEW)
set(MSDF_ATLAS_BUILD_STANDALONE OFF) set(MSDF_ATLAS_BUILD_STANDALONE OFF)
set(MSDF_ATLAS_USE_SKIA OFF) set(MSDF_ATLAS_USE_SKIA OFF)
set(MSDF_ATLAS_NO_ARTERY_FONT ON) set(MSDF_ATLAS_NO_ARTERY_FONT ON)
set(MSDFGEN_DISABLE_PNG ON) set(MSDFGEN_DISABLE_PNG ON)
set(SDL2MIXER_DEPS_SHARED OFF)
set(SDL2MIXER_VENDORED ON) set(SDL2MIXER_VENDORED ON)
set(SDL2MIXER_FLAC OFF) set(SDL2MIXER_FLAC OFF)
set(SDL2MIXER_MOD OFF) set(SDL2MIXER_MOD OFF)