*REMINDER* cmake findpackage() doesn't detect 32 bit OpenGL
On Linux 64 bit with multiarch "find_package(OpenGL REQUIRED)" might fail because it doesn’t detect 32 bit libs properly
This seems to be a known cmake thingy but we don’t deal with this in ETL as we do for other lib dependancies.
With 64 bit OpenGL installed the package is found but the build fails when linking the client (which isn’t a surprise).
#4 Updated by IR4T4 about 1 year ago
- Subject changed from cmake findpackage() doesn't detect 32 bit OpenGL to *REMINDER* cmake findpackage() doesn't detect 32 bit OpenGL
- Status changed from New to Confirmed
- Target version changed from 2.78 to ALL
- % Done changed from 0 to 100
To avoid/fix this issue cmake requires to know about 32 bit this way:
We are doing this in easybuild.sh but in case of IDEs these might fail.