FindBoost: cmake 3.19.0 and boost
Using cmake 3.19.0 produces the following warning messages while 3.18.2 is working ok:
CMake Error in externals/NGM/mst/src/cpp/CMakeLists.txt: Imported target "Boost::boost" includes non-existent path "D:/nuget/x64/boost-vc140.x126.96.36.199.1/garbage_headers/boost-1_73" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide.
Normally, header files exist in a sub-directory "include" and not in "garbage_headers" as expected in 3.19. This probably breaks many builds.
The directory D:/nuget/x64/boost-vc140.x188.8.131.52.1 represents the boost 1.73.0 root directory. This directory contains the following sub-directories:
--+-- include | | | +-- boost | +-- lib | | | +-- cmake | +-- data
There is no change in setup just switching from cmake 3.18.2 to cmake 3.19. The term "garbage_headers" is not part of our internal cmake setup.