use versioned layout on linux, find_package can not find header but can success complie app
my project need boost on linux, and i want my boost lib named versioned like it on the windows. i build boost on linux use versioned layout.
in CMakeLists.txt file, i write like this:
find_package(Boost 1.72.0 QUIET COMPONENTS thread-gcc5-mt-x64-1_72 )
when i build this project, cmake output :
CMake Warning at /usr/cmake/share/cmake-3.16/Modules/FindBoost.cmake:2020(message): No header defined for thread-gcc5-mt-x64-1_72; skipping header check(note:header-only libraries have no designated component) Call Stack(most recent call first);