Commit graph

6 commits

Author SHA1 Message Date
Sebastian Pipping
9c16d1c5b4 pkg-config: Add missing -DXML_STATIC (for Windows)
This affects the output of command "pkg-config --cflags --static expat".
2024-02-06 00:17:30 +01:00
Sebastian Pipping
7165ae8bff CMake: Fix pkg-config section "Libs" for MSVC 2022-03-24 16:36:29 +01:00
Sebastian Pipping
896e94000c pkg-config: Move "-lm" from section "Libs" to section "Libs.private" 2022-03-24 16:29:58 +01:00
Sebastian Pipping
2ed8e19ada CMake: Make call to file(GENERATE [..]) work for CMake <3.19
Error from CMake 3.7.2 was:

CMake Error at CMakeLists.txt:482 (file):
  file Incorrect arguments to GENERATE subcommand.
2021-12-31 20:49:00 +01:00
Sebastian Pipping
0b7a88b355 Autotools|CMake: Link against libm for function "isnan"
$ git --no-pager grep -lw isnan
lib/xmlparse.c
tests/runtests.c
xmlwf/xmlwf.c
2021-09-20 18:27:52 +02:00
Sebastian Pipping
1d4bb74c34 CMake: Fix pkg-config section "Libs" for multi-config CMake generators 2021-07-06 16:22:38 +02:00