13 Commits

Author SHA1 Message Date
Nick Wellnhofer
5737466a31 cmake: Only link with winsock2 if HTTP is enabled 2024-11-23 15:49:04 +01:00
Nick Wellnhofer
d4fc7b7065 cmake: Fix indentation in libxml2-config.cmake.in 2024-11-23 15:43:26 +01:00
Saleem Abdulrasool
4e27bbddfa build: add missing Bcrypt link on Windows
When building on Windows, we must link against `Bcrypt` to satisfy the
use of `BCryptGenRandom`. Add this to the link interface in CMake to
allow use of libxml2 as a static library.
2024-11-22 15:48:07 -08:00
James Le Cuirot
9d53452206
cmake: Check whether static linking dependencies found in config files
If they were required when building libxml2 then they will also be
required when statically linking against it. Failing to find them will
just lead to undefined references later so detect this early.
2023-09-23 16:48:54 +01:00
Markus Rickert
99cba4b37b Handle NOCONFIG case when setting locations from CMake target properties 2023-09-09 17:46:34 +02:00
Markus Rickert
0048728916 Add variables for configured options to CMake config files 2021-01-05 22:03:47 +01:00
Markus Rickert
c26e45259c Check if target exists when reading target properties 2021-01-05 22:03:47 +01:00
Markus Rickert
ec11987592 Add xmlcatalog target and definition to config files 2021-01-05 22:03:47 +01:00
Markus Rickert
2377a312b9 Remove include directories for link-only dependencies 2021-01-05 22:03:47 +01:00
Markus Rickert
26835480dc Fix ICU build in CMake 2021-01-05 22:03:47 +01:00
Markus Rickert
84b76d99f1 Update CMake config files 2020-12-07 14:37:23 +01:00
Markus Rickert
7a62870a3c Add missing compile definition for static builds to CMake 2020-11-30 11:08:14 +01:00
Markus Rickert
2a2c38f3a3 Add CMake build files
Closes #24.
2020-05-04 13:53:11 +02:00