cppcheck/cmake
Wolfgang Stöggl 8ac55a8534
Add find_package(tinyxml2) to CMake builds (#2691)
So far, the cmake files of Cppcheck needed to be patched in order to
use installed tinyxml2 instead of the bundled version of tinyxml2.
- Introduce the CMake option USE_BUNDLED_TINYXML2 with a default value
  of ON. This preserves the behavior as in the past and uses the
  bundled version under externals/tinyxml2 by default.
- Usage of the installed tinyxml2 version of a system can be enabled
  now using -DUSE_BUNDLED_TINYXML2=OFF as a cmake parameter.
- Some Linux distros do not install tinyxml2*.cmake files, which are
  required to find tinyxml2 using find_package().
  Try first using find_package(tinyxml2 QUIET) and if this fails, try
  again using find_library(tinyxml2_LIBRARY tinyxml2)
2020-11-22 08:57:07 +01:00
..
buildFiles.cmake
clang_tidy.cmake
cmake_uninstall.cmake.in
compilerDefinitions.cmake
compileroptions.cmake
cxx11.cmake
dynamic_analyzer_options.cmake
findDependencies.cmake Add find_package(tinyxml2) to CMake builds (#2691) 2020-11-22 08:57:07 +01:00
options.cmake Add find_package(tinyxml2) to CMake builds (#2691) 2020-11-22 08:57:07 +01:00
printInfo.cmake Add find_package(tinyxml2) to CMake builds (#2691) 2020-11-22 08:57:07 +01:00
versions.cmake