Adding header files to the "freeglut" projects per e-mail from Paul Martz dated 1/9/12 at 1:22 PM

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@975 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2012-01-10 02:05:59 +00:00
parent f4e9f3aa31
commit 2331ec9b19

View File

@ -1,7 +1,14 @@
PROJECT(freeglut)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(FREEGLUT_HEADERS
include/GL/freeglut.h
include/GL/freeglut_ext.h
include/GL/freeglut_std.h
include/GL/glut.h
)
SET(FREEGLUT_SRCS
${FREEGLUT_HEADERS}
src/freeglut_callbacks.c
src/freeglut_cursor.c
src/freeglut_display.c
@ -90,8 +97,7 @@ IF(NOT BUILD_SHARED_LIBS)
ENDIF()
INSTALL(TARGETS freeglut DESTINATION lib)
INSTALL(DIRECTORY "${CMAKE_SOURCE_DIR}/include/GL" DESTINATION include
FILES_MATCHING PATTERN "*.h")
INSTALL(FILES ${FREEGLUT_HEADERS} DESTINATION include/GL)
# Optionally build demos, on by default.
option( FREEGLUT_BUILD_DEMOS "Build FreeGLUT demos." ON )