From 15ab6eebecf7bc7028dfedb3af2afaea16231dfd Mon Sep 17 00:00:00 2001 From: Rene Date: Wed, 27 Sep 2017 11:42:00 +0200 Subject: [PATCH 1/2] Include description of glew in README.md Description has been taken from glew.sourceforge.net --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6d8245b..1b427b8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # GLEW - The OpenGL Extension Wrangler Library +The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris. + ![](http://glew.sourceforge.net/glew.png) http://glew.sourceforge.net/ From 07b759b784d02bbcc532d494e5bc0fe51360d0f5 Mon Sep 17 00:00:00 2001 From: Steve Robinson Date: Sun, 8 Oct 2017 12:20:23 -0700 Subject: [PATCH 2/2] The install_manifest.txt is actually in the top-level binary directory, not the project-specific binary directory. I get the CMake error 'Cannot find install manifest' if I've added the glew library as a subdirectory in my existing CMake project. --- build/cmake/cmake_uninstall.cmake.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/cmake/cmake_uninstall.cmake.in b/build/cmake/cmake_uninstall.cmake.in index d00a516..2517e99 100644 --- a/build/cmake/cmake_uninstall.cmake.in +++ b/build/cmake/cmake_uninstall.cmake.in @@ -1,13 +1,13 @@ -if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") - message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") -endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") +if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") + message(FATAL_ERROR "Cannot find install manifest: @CMAKE_BINARY_DIR@/install_manifest.txt") +endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") if (NOT DEFINED CMAKE_INSTALL_PREFIX) set (CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@") endif () message(${CMAKE_INSTALL_PREFIX}) -file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) +file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files) string(REGEX REPLACE "\n" ";" files "${files}") foreach(file ${files}) message(STATUS "Uninstalling $ENV{DESTDIR}${file}")