diff options
Diffstat (limited to 'cmake/FindGLI.cmake')
| -rw-r--r-- | cmake/FindGLI.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/FindGLI.cmake b/cmake/FindGLI.cmake new file mode 100644 index 0000000..de80e4b --- /dev/null +++ b/cmake/FindGLI.cmake @@ -0,0 +1,12 @@ +if(NOT GLI_PACKAGE_DIR) + message("ERROR: GLI_PACKAGE_DIR requires to be set") +endif(NOT GLI_PACKAGE_DIR) + +set(GLI_INCLUDE_DIR ${GLI_PACKAGE_DIR}) +set(GLI_LIBRARY_DIR ) + +include_directories(${GLI_INCLUDE_DIR}) + +if(GLI_PACKAGE_DIR AND GLI_INCLUDE_DIR) + set(GLI_FOUND "YES") +endif(GLI_PACKAGE_DIR AND GLI_INCLUDE_DIR) |