Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
third-party
glew
Commits
cedd84f8
Commit
cedd84f8
authored
Dec 27, 2016
by
Abdo Roig-Maranges
Browse files
cmake: only install PDB files with msvc
Otherwise cmake windows builds with the mingw compiler are broken.
parent
5766d270
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/cmake/CMakeLists.txt
View file @
cedd84f8
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment