mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-29 09:11:56 +00:00
cmake: only install PDB files with msvc
Otherwise cmake windows builds with the mingw compiler are broken.
This commit is contained in:
parent
5766d27018
commit
cedd84f839
@ -194,7 +194,7 @@ install(FILES ${GLEW_DIR}/glew.pc
|
|||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32 AND (NOT MSVC_VERSION LESS 1600) AND (NOT CMAKE_VERSION VERSION_LESS "3.1"))
|
if(WIN32 AND MSVC AND (NOT MSVC_VERSION LESS 1600) AND (NOT CMAKE_VERSION VERSION_LESS "3.1"))
|
||||||
install(
|
install(
|
||||||
FILES $<TARGET_PDB_FILE:glew>
|
FILES $<TARGET_PDB_FILE:glew>
|
||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user