diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 765e7393..f10fb006 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -66,6 +66,17 @@ if( WITH_ARTS ) endif( WITH_ARTS ) +# Kue needs GL +if( BUILD_KUE ) + check_include_file( "GL/gl.h" HAVE_GL_H ) + check_include_file( "GL/glu.h" HAVE_GLU_H ) + check_include_file( "GL/glx.h" HAVE_GLX_H ) + + if( NOT HAVE_GL_H OR NOT HAVE_GLU_H OR NOT HAVE_GLX_H) + tde_message_fatal("GL required for Kue, but not found on your system") + endif() +endif() + ##### Import libtdegames ##### All these games require libtdegames @@ -100,6 +111,7 @@ if( BUILD_ATLANTIK OR BUILD_KTRON OR BUILD_KTUBERLING OR BUILD_LSKAT OR - BUILD_TWIN4 ) + BUILD_TWIN4 OR + BUILD_KUE ) tde_import ( libtdegames ) endif() |