From 145ede789de47196bf4555e53fbdbb12d23a412b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20H=C3=B6ster?= Date: Sun, 21 Jun 2026 01:18:05 +0200 Subject: [PATCH 1/2] Add vcpkg.json manifest for project dependencies my vcpkg wouldn't install the dependencies otherwise --- vcpkg.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vcpkg.json diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 00000000..b543b334 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "elements", + "version-date": "2026-06-20", + "dependencies": ["pkgconf", "cairo", "fontconfig", "freetype", "libwebp"], + "builtin-baseline": "566f9496b7e00ee0cc00aca0ab90493d122d148a" +} From 8a3e2c190f105836bf63d23602f0ce9dbb061068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20H=C3=B6ster?= Date: Sun, 21 Jun 2026 01:23:22 +0200 Subject: [PATCH 2/2] Fix Clang builds on Windows forcing MultiThreadedDebug runtime in release builds --- cmake/ElementsConfigApp.cmake | 2 +- lib/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/ElementsConfigApp.cmake b/cmake/ElementsConfigApp.cmake index 437d6441..42c4b29f 100644 --- a/cmake/ElementsConfigApp.cmake +++ b/cmake/ElementsConfigApp.cmake @@ -100,7 +100,7 @@ elseif (WIN32) if (MSVC) - if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_C_COMPILER_ID STREQUAL "Clang") + if (CMAKE_BUILD_TYPE STREQUAL "Debug") set_property(TARGET ${ELEMENTS_APP_PROJECT} PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreadedDebug" ) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 70543b67..119eb3a2 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -295,7 +295,7 @@ elseif (WIN32) BOOST_REGEX_NO_LIB ) - if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_C_COMPILER_ID STREQUAL "Clang") + if (CMAKE_BUILD_TYPE STREQUAL "Debug") set_property(TARGET elements PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreadedDebug" )