Closed tprk77 closed 1 year ago
Yes, to be fair I think it's a minor improvement, mostly that you only need to target_link_libraries
and not have to do target_include_directories
. I am not really a CMake expert, but I think this is more the "CMake way" of doing it. @mwoehlke-kitware was the person who originally did this work, and he's a CMake expert, so I would defer to him, but he's seemingly not involved with LCM anymore.
Restores the original
FindGLib2.cmake
file with two modifications: First,FOUND_VAR
has been removed (it's ignored anyway). Second, I setset(FPHSA_NAME_MISMATCHED TRUE)
becausefind_package_handle_standard_args
is called for each component and the mismatched names are expected.