Skip to content

Commit

Permalink
install PDB files on MSVC based builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ybalrid committed Dec 2, 2018
1 parent 37d0e71 commit b54d1b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ install(TARGETS OIS
FRAMEWORK DESTINATION Library/Frameworks
)

if(MSVC)
install(FILES $<TARGET_PDB_FILE:OIS> DESTINATION bin OPTIONAL)
endif(MSVC)

if(UNIX)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/OIS.pc.in ${CMAKE_BINARY_DIR}/OIS.pc @ONLY)
install(FILES ${CMAKE_BINARY_DIR}/OIS.pc DESTINATION ${OIS_LIB_DIRECTORY}/pkgconfig)
Expand Down

0 comments on commit b54d1b6

Please sign in to comment.