1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-16 04:02:15 +00:00
conky/cmake
Tóth János 47ec9f911c
Fix OpenBSD build (#2080)
- Fix unclosed OBJ in core.cc when target is OpenBSD
- `to_real_path` changes:
  - Canonicalize result to mimic `realpath` behavior
  - Partially implement `to_real_path` for OpenBSD
  - Add more tests for `to_real_path`.
- Build system improvements:
  - Use same i18n include/link logic for all platforms
  - Replace `HAVE_SOME_SOUNDCARD_H` and `HAVE_LINUX_SOUNDCARD_H` with `HAVE_SOUNDCARD_H`
    and use other defines (__linux__) to guard include
  - Replace `<XXX>_LIBRARIES` with `<XXX>_LINK_LIBRARIES` for linking.
    - Libraries weren't in default linker search path on OpenBSD
- OpenBSD specific:
  - Fix bsdapm.cc
  - Remove diskio stats stubs
  - Stub get_battery_short_status
  - Remove `-stdlib=libc++` build flag on OpenBSD

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Co-authored-by: gmb <gmb@openbsd76.my.domain>
Co-authored-by: Tin Švagelj <tin.svagelj@live.com>
2024-11-22 23:45:11 +00:00
..
scripts fixed wrong spelled words 2021-01-23 17:59:07 -06:00
build.h.in Remove build date and associated vars 2024-02-22 08:36:21 -05:00
Catch.cmake Reformat CMake files. 2019-01-03 09:48:43 -05:00
CatchAddTests.cmake Reformat CMake files. 2019-01-03 09:48:43 -05:00
clang-format.cmake Don't reformat catch2 with make clang-format. 2022-10-13 14:55:38 -05:00
clang-tidy.cmake Rename cmake vars to suppress warnings. 2021-01-23 18:22:47 -06:00
CodeCoverage.cmake Use cmake macros for cxx standards 2022-10-12 20:32:48 -04:00
config.h.in Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
Conky.cmake Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
ConkyBuildOptions.cmake Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
ConkyCPackSetup.cmake Update copyright 2024-02-22 08:53:35 -05:00
ConkyPlatformChecks.cmake Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
DependentOption.cmake Prevent infinite loop in DependentOption 2023-11-19 14:16:33 -05:00
FindClangFormat.cmake Check for new clang tidy/format bins. 2021-01-23 19:28:22 -06:00
FindClangTidy.cmake Check for new clang tidy/format bins. 2021-01-23 19:28:22 -06:00
FindWayland.cmake Build fixes for newly introduced Wayland support. 2022-12-24 11:29:19 -05:00
ToLua.cmake Compile tolua++ output as C++ 2024-02-23 13:10:12 -05:00
UninstallConky.cmake.in Update copyright 2024-02-22 08:53:35 -05:00