Commit Graph

9 Commits

Author SHA1 Message Date
lat9nq
b5dc9ac015 cmake: Check program existence with CMake standards 2024-01-17 15:49:35 -05:00
lat9nq
1e82342033 CMake: Find and require intl
It's not guaranteed for Apple systems to have this library installed, apparently, so check for it.
2024-01-09 17:22:53 -05:00
lat9nq
84dd8dd351 CMake: Link against intl
Fixes compile issue with Apple.
2023-11-29 15:06:47 -05:00
comex
d7150e9daf Don't pollute the source directory with binaries
tz's makefile can only build in-tree.  It *installs* to a different
directory (specified by `DESTDIR`), but the build artifacts are left in
the source tree, including `zic.o`, `zic`, etc.  This is disruptive to
CMake builds which are usually out-of-tree.  To work around this, copy
the whole source tree to a path under `CMAKE_CURRENT_BINARY_DIR`, and
build it from there.  It's a tiny project so the cost of copying is not
significant.
2023-06-25 13:38:15 -07:00
lat9nq
6415df918b cmake: Move list directory for general access 2023-06-23 18:17:23 -04:00
lat9nq
e5a9681b37 tz: Use pure CMake to list TZif files 2023-06-23 17:34:35 -04:00
Jan Beich
6ca7f92b0e Switch to POSIX sh for scripts
- GNU `bash` may not be installed or installed outside of /bin
- *.sh only use `==` from Bash, so /bin/sh is enough
2023-06-23 21:29:48 +00:00
lat9nq
d394741906 cmake: Get version info from git 2023-06-16 02:04:50 -04:00
lat9nq
467e965659 general: Use a submodule of eggert/tz 2023-06-16 01:16:02 -04:00