mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 15:25:07 +00:00
cmake: Install eglew.h
The eglew.h header was never installed using the CMake build. Fix this by adding it to the list of public headers
This commit is contained in:
parent
966e53fa15
commit
5f57b09c04
@ -120,7 +120,12 @@ endif ()
|
|||||||
|
|
||||||
include_directories (${GLEW_DIR}/include ${X11_INCLUDE_DIR})
|
include_directories (${GLEW_DIR}/include ${X11_INCLUDE_DIR})
|
||||||
|
|
||||||
set (GLEW_PUBLIC_HEADERS_FILES ${GLEW_DIR}/include/GL/wglew.h ${GLEW_DIR}/include/GL/glew.h ${GLEW_DIR}/include/GL/glxew.h)
|
set (GLEW_PUBLIC_HEADERS_FILES
|
||||||
|
${GLEW_DIR}/include/GL/wglew.h
|
||||||
|
${GLEW_DIR}/include/GL/glew.h
|
||||||
|
${GLEW_DIR}/include/GL/glxew.h
|
||||||
|
${GLEW_DIR}/include/GL/eglew.h
|
||||||
|
)
|
||||||
set (GLEW_SRC_FILES ${GLEW_DIR}/src/glew.c)
|
set (GLEW_SRC_FILES ${GLEW_DIR}/src/glew.c)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
@ -257,10 +262,8 @@ if(WIN32 AND MSVC AND (NOT MSVC_VERSION LESS 1600) AND (NOT CMAKE_VERSION VERSIO
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install (FILES
|
install (
|
||||||
${GLEW_DIR}/include/GL/wglew.h
|
FILES ${GLEW_PUBLIC_HEADERS_FILES}
|
||||||
${GLEW_DIR}/include/GL/glew.h
|
|
||||||
${GLEW_DIR}/include/GL/glxew.h
|
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GL)
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GL)
|
||||||
|
|
||||||
if(MAYBE_EXPORT)
|
if(MAYBE_EXPORT)
|
||||||
|
Loading…
Reference in New Issue
Block a user