Merge pull request #59 from titorgalaxy/git_master
Fixed freeglut.pdb install for builds with MSVC compiler and NMake.
This commit is contained in:
commit
08bb28dece
@ -484,10 +484,17 @@ IF(FREEGLUT_BUILD_SHARED_LIBS)
|
|||||||
INCLUDES DESTINATION include
|
INCLUDES DESTINATION include
|
||||||
)
|
)
|
||||||
IF(INSTALL_PDB)
|
IF(INSTALL_PDB)
|
||||||
INSTALL(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Debug/freeglut${CMAKE_DEBUG_POSTFIX}.pdb
|
IF(CMAKE_GENERATOR MATCHES "^Visual Studio")
|
||||||
DESTINATION bin
|
INSTALL(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Debug/freeglut${CMAKE_DEBUG_POSTFIX}.pdb
|
||||||
CONFIGURATIONS Debug
|
DESTINATION bin
|
||||||
COMPONENT Devel)
|
CONFIGURATIONS Debug
|
||||||
|
COMPONENT Devel)
|
||||||
|
ELSE()
|
||||||
|
INSTALL(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/freeglut${CMAKE_DEBUG_POSTFIX}.pdb
|
||||||
|
DESTINATION bin
|
||||||
|
CONFIGURATIONS Debug
|
||||||
|
COMPONENT Devel)
|
||||||
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(FREEGLUT_BUILD_STATIC_LIBS)
|
IF(FREEGLUT_BUILD_STATIC_LIBS)
|
||||||
|
Reference in New Issue
Block a user