On Wed, Jul 29, 2026 at 05:32:51PM +0100, Stuart Henderson wrote:
> >     libuuid found via file(GLOB) in the OpenBSD cmake file
> >     libGL found via file(GLOB) in libobs-opengl patch
> 
> I don't understand this, what's wrong with -lGL -luuid?
> 
> 

I tried -lGL and -luuid, but on OpenBSD there are no unversioned .so symlinks 
for these libraries - only versioned files
(libGL.so.19.2, libuuid.so.14.1). The linker fails with "unable to find library 
-lGL". CMake's own find_library() finds the versioned
files fine, but generating -lGL as a link flag does not work.

I think file(GLOB) is the right approach here.

Reply via email to