mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-30 02:17:07 +00:00
Merge pull request #126 from aroig/gh/cmake-on-msys2
cmake: only install PDB files with msvc
This commit is contained in:
commit
ac4a740b38
@ -194,7 +194,7 @@ install(FILES ${GLEW_DIR}/glew.pc
|
||||
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(
|
||||
FILES $<TARGET_PDB_FILE:glew>
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user