Devendor some thridparty deps #7836

Merged
Osyotr merged 14 commits from cmake-fixes into master 2024-04-06 22:50:34 +00:00

14 commits

Author SHA1 Message Date
Osyotr
207e9b1401
Let CMake handle /DEBUG flag for MSVC
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 20:14:08 +03:00
Osyotr
21b6b7ac82
Update utfcpp include path
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 17:40:43 +03:00
Osyotr
3fc33f3840
Fix typo in target name
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 17:06:51 +03:00
Osyotr
c4dccc6135 Find pugixml explicitly
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:52:09 +03:00
Osyotr
616cde3967 Don't use vendored Freetype, ICU and HarfBuzz when WITH_SYSTEM_PROVIDED_3PARTY is set
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:52:09 +03:00
Osyotr
d49d554d10 Use find_package(ZLIB) to find zlib
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:52:09 +03:00
Osyotr
90241c0fb7 Use system jansson explicitly if needed
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:52:09 +03:00
Osyotr
b5a73528d0 Use system expat explicitly if needed
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:52:07 +03:00
Osyotr
13a8601641 Don't hardcode paths to 3party/utfcpp
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:51:40 +03:00
Osyotr
bef0ae874f Move find_package(gflags) out of 3party
GLOBAL flag for find_package has been added in CMake 3.24

Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:51:39 +03:00
Osyotr
d825eb4695 Don't add unsupported flags on MSVC
Drive-by: use add_compile_options instead of add_definitions to set -fno-omit-frame-pointer
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:50:45 +03:00
Osyotr
ae04ac3d41 Link more targets explicitly to pickup transitive dependencies
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:50:45 +03:00
Osyotr
f7850f1414 Make find_program(BASH) REQUIRED to prevent build-time errors
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:50:45 +03:00
Osyotr
9f0bf65f5f Link with Qt6::Network on windows
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-06 16:50:45 +03:00