mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 16:41:57 +00:00
Install pdb file for Debug
and RelWithDebInfo
This commit is contained in:
parent
be51b869a1
commit
f3831806e7
@ -191,6 +191,14 @@ install(FILES ${GLEW_DIR}/glew.pc
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
||||
)
|
||||
|
||||
if((NOT MSVC_VERSION LESS 1600) AND (NOT CMAKE_VERSION VERSION_LESS "3.1"))
|
||||
install(
|
||||
FILES $<TARGET_PDB_FILE:glew>
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
CONFIGURATIONS Debug RelWithDebInfo
|
||||
)
|
||||
endif()
|
||||
|
||||
install (FILES
|
||||
${GLEW_DIR}/include/GL/wglew.h
|
||||
${GLEW_DIR}/include/GL/glew.h
|
||||
|
Loading…
Reference in New Issue
Block a user