Commit Graph
2 Commits
Author SHA1 Message Date
Steffen Pankratz bd72da276e fix CMake CMP0075 warning
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>

Original warning:
  CMake Warning (dev) at /usr/share/cmake-3.19/Modules/CheckIncludeFile.cmake:80 (message):
  Policy CMP0075 is not set: Include file check macros honor
  CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  CMAKE_REQUIRED_LIBRARIES is set to:

    pthread;rt

  For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
  CMakeLists.txt:56 (check_include_file)
This warning is for project developers.  Use -Wno-dev to suppress it.
2021-03-20 14:03:20 +01:00
Steffen Pankratz d7c124a03d fix 'Compatibility with CMake < 2.8.12 will be removed' warning.
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>

Original warning:
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
2021-03-20 14:01:07 +01:00