CMake fixes for Windows

Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
This commit is contained in:
Osyotr
2025-08-07 01:55:57 +03:00
committed by Konstantin Pastbin
parent 416b8ab95a
commit 4117cca562
7 changed files with 37 additions and 16 deletions

View File

@@ -197,7 +197,7 @@ if (USE_PCH)
endif()
# Should be on the root level, not in 3party, so tests can get these dependencies.
if (PLATFORM_LINUX OR PLATFORM_WIN)
if (PLATFORM_LINUX)
find_package(ICU COMPONENTS uc i18n data REQUIRED)
find_package(Freetype REQUIRED)
find_package(harfbuzz REQUIRED)