Skip to content
Snippets Groups Projects
  • Mehrdad Afshari's avatar
    79ec0ff5
    Increase portability of CMakeLists.txt · 79ec0ff5
    Mehrdad Afshari authored
    - Update CMakeLists.txt (original template and generated code)
      to prevent forcefully linking `dl` on all UNIX platforms,
      and rely on `${CMAKE_DL_LIBS}` portable variable instead.
    - Do not try linking against `librt` on macOS.
    - Add a `config_freebsd` directory containing the header file
      generated by the `configure` script for the `ares` library.
    79ec0ff5
    History
    Increase portability of CMakeLists.txt
    Mehrdad Afshari authored
    - Update CMakeLists.txt (original template and generated code)
      to prevent forcefully linking `dl` on all UNIX platforms,
      and rely on `${CMAKE_DL_LIBS}` portable variable instead.
    - Do not try linking against `librt` on macOS.
    - Add a `config_freebsd` directory containing the header file
      generated by the `configure` script for the `ares` library.