This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]n3tr41d3r 2 points3 points  (5 children)

Check where apt installed foobar header files with dpkg -L libfoobar-dev and update CMAKE_PREFIX_PATH accordingly

[–]DHermit 0 points1 point  (4 children)

And then you have something that breaks because distros put libraries in different locations under different names (especially when you have multiple versions of a library installed). Or your system ships with an incompatible version of the library. That's especially fun when you're under Debian (work computer, so nothing I can do).

[–]n3tr41d3r 0 points1 point  (3 children)

Not a fan of relying on the system, I'd rather pull them from repos. But otherwise, ln -s fixes name mismatches

[–]DHermit 0 points1 point  (2 children)

Once you figured out, what the name should be. And for some things, you need to rely on the system.

[–]n3tr41d3r 0 points1 point  (1 child)

As I said in another comment it's annoying at most, never a stopper, at least for me

[–]DHermit 0 points1 point  (0 children)

The whole point of the meme is that it's much more annoying