diff options
Diffstat (limited to 'project/cmake/modules/FindOpenGl.cmake')
| -rw-r--r-- | project/cmake/modules/FindOpenGl.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project/cmake/modules/FindOpenGl.cmake b/project/cmake/modules/FindOpenGl.cmake index 9d6ec01..b8cff79 100644 --- a/project/cmake/modules/FindOpenGl.cmake +++ b/project/cmake/modules/FindOpenGl.cmake | |||
| @@ -11,10 +11,10 @@ | |||
| 11 | # OPENGL_DEFINITIONS - the OpenGl definitions | 11 | # OPENGL_DEFINITIONS - the OpenGl definitions |
| 12 | 12 | ||
| 13 | if(PKG_CONFIG_FOUND) | 13 | if(PKG_CONFIG_FOUND) |
| 14 | pkg_check_modules(PC_OPENGL gl glu) | 14 | pkg_check_modules(PC_OPENGL gl glu QUIET) |
| 15 | endif() | 15 | endif() |
| 16 | 16 | ||
| 17 | if(NOT CORE_SYSTEM_NAME STREQUAL darwin) | 17 | if(NOT CORE_SYSTEM_NAME STREQUAL osx) |
| 18 | find_path(OPENGL_INCLUDE_DIR GL/gl.h | 18 | find_path(OPENGL_INCLUDE_DIR GL/gl.h |
| 19 | PATHS ${PC_OPENGL_gl_INCLUDEDIR}) | 19 | PATHS ${PC_OPENGL_gl_INCLUDEDIR}) |
| 20 | find_library(OPENGL_gl_LIBRARY NAMES GL | 20 | find_library(OPENGL_gl_LIBRARY NAMES GL |
