10 Commits
Author SHA1 Message Date
Steffen Pankratz 90ddbcdb54 Fix compilation on Arch Linux.
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2022-09-19 09:48:24 +02:00
Steffen PankratzandGitHub a8335ca24a allow using CMAKE_INSTALL_PREFIX (#605) 2022-06-19 14:42:27 +02:00
Steffen PankratzandGitHub fa3361c014 fix compiler warning: deprecated std::binary_function (#609) 2022-06-19 14:17:44 +02:00
Steffen Pankratz 251ddce131 fix compiler warning: loop variable creates a copy from type
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2021-09-06 20:07:52 +02:00
Steffen Pankratz b6be30f78c fix conversion from 'long unsigned int' to 'int' warning
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2021-04-12 20:21:33 +02:00
Steffen Pankratz 7c699be734 fix ISO C++11 does not allow conversion from string literal to 'char *'
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2021-04-12 20:19:16 +02:00
Steffen Pankratz 676c3307fd fix unused variable warnings.
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2021-04-12 20:19:16 +02:00
Steffen Pankratz 049e70bea8 fix for CMake out of source builds not getting Git revision
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>

Original warning:
fatal: not a git repository (or any of the parent directories): .git
2021-03-20 14:05:06 +01:00
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