diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-09-10 15:19:01 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-09-27 19:09:18 +1000 |
commit | 0dddec4199edcf750bbef5dc0933e0721efdb75b (patch) | |
tree | 4c321e4745f03b80fdd6a04cbe69a32321534bdc /cmake/scripts | |
parent | b2c8bf3631a63bd41d4153aa245e186e26b2a0f6 (diff) |
[cmake] FindOpenGLES move to full TARGET usage
unify find_* calls for all platforms
Actually allow using/finding GLESv3 headers for darwin_embedded platforms
Diffstat (limited to 'cmake/scripts')
-rw-r--r-- | cmake/scripts/linux/Install.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake index 1564083b7c..85d728c635 100644 --- a/cmake/scripts/linux/Install.cmake +++ b/cmake/scripts/linux/Install.cmake @@ -3,12 +3,12 @@ if(X_FOUND) else() set(USE_X11 0) endif() -if(OPENGL_FOUND) +if(TARGET OpenGL::GLES) set(USE_OPENGL 1) else() set(USE_OPENGL 0) endif() -if(OPENGLES_FOUND) +if(TARGET OpenGL::GLES) set(USE_OPENGLES 1) else() set(USE_OPENGLES 0) |