-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jpeg-turbo detection doesn't properly handle not finding it #191
Comments
I just hit this. Needed to install more dependencies, would have been nice if cmake would have failed instead of the make.
|
@sstewartgallus It looks like the code that you quote is from I'll quote the full function here:
CMake looks in So, perhaps the
In addition, the search for the header,
to something like (I haven't tested below, but I believe this should work):
I would recommend an additional set of checks to see the library found by CMake has the appropriate set of symbols defined and the version of the found library is correct. EDIT: removed an extra ENDIF() |
Fix for issue ValveSoftware#191 (https://github.com/ValveSoftware/vogl/). (1) Fails when libjpegturbo is not found. (2) Adds a check for the header file turbojpeg.h
The code here isn't good. It should error out if it can't find jpeg-turbo and not just fill in some randomness and result in a link failure halfway through building Vogl.
The text was updated successfully, but these errors were encountered: