From 29a0ac0f470ed064f65c174dd2c9b0a5c4fabd5e Mon Sep 17 00:00:00 2001 From: Tamas Kenez Date: Wed, 10 Jun 2015 10:27:28 +0200 Subject: [PATCH] cmake: install named headers instead of directory --- build/cmake/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index b955743..f0d10e4 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -90,4 +90,8 @@ install(FILES ${GLEW_DIR}/glew.pc ${GLEW_DIR}/glewmx.pc DESTINATION lib/pkgconfig ) -install (DIRECTORY ${GLEW_DIR}/include/ DESTINATION include) +install (FILES + ${GLEW_DIR}/include/wglew.h + ${GLEW_DIR}/include/glew.h + ${GLEW_DIR}/include/glxew.h + DESTINATION include/GL)