Two ways to create CMakeLists.txt file for a library with no sources but with headers
I have a library libfoo.so
and want to provide it to other projects by wrapping it into a cmake project. I know two ways of achieving this via a CMakeLists.txt
file. First method is the following: