Message ID | 20190307154316.19194-2-ykaradzhov@vmware.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Various minor modifications and fixes toward KS 1.0 | expand |
diff --git a/kernel-shark/CMakeLists.txt b/kernel-shark/CMakeLists.txt index 9460026..20ced14 100644 --- a/kernel-shark/CMakeLists.txt +++ b/kernel-shark/CMakeLists.txt @@ -22,6 +22,7 @@ include(${KS_DIR}/build/FindJSONC.cmake) find_package(Doxygen) +set(OpenGL_GL_PREFERENCE LEGACY) find_package(OpenGL) find_package(GLUT)
We instruct CMAKE to prefer using the legacy libGL library, if available. Although this is the default choice, the latest versions of CMAKE are printing a warning message in the case when no explicit preference is provided. Suggested-by: Slavomir Kaslev <kaslevs@vmware.com> Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com> --- kernel-shark/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+)