mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
install pdb files
This commit is contained in:
parent
475d263a51
commit
9db425ba54
1 changed files with 7 additions and 2 deletions
|
|
@ -40,13 +40,18 @@ set_target_properties(webrtc PROPERTIES
|
||||||
LIBRARY_OUTPUT_DIRECTORY ${WEBRTC_OUTPUT_DIR}
|
LIBRARY_OUTPUT_DIRECTORY ${WEBRTC_OUTPUT_DIR}
|
||||||
PREFIX lib)
|
PREFIX lib)
|
||||||
|
|
||||||
#
|
|
||||||
# Install headers
|
# Install headers
|
||||||
install(DIRECTORY ${WEBRTC_SOURCE_DIR}
|
install(DIRECTORY ${WEBRTC_SOURCE_DIR}
|
||||||
DESTINATION "include"
|
DESTINATION "include"
|
||||||
FILES_MATCHING PATTERN "*.h")
|
FILES_MATCHING PATTERN "*.h")
|
||||||
|
|
||||||
#
|
# Install pdb files
|
||||||
|
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||||
|
file(GLOB_RECURSE PDB_FILES [${WEBRTC_OUTPUT_DIR} "*.pdb")
|
||||||
|
install(FILES ${PDB_FILES} DESTINATION lib)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Install library
|
# Install library
|
||||||
install(TARGETS webrtc
|
install(TARGETS webrtc
|
||||||
EXPORT LibWebRTCTargets
|
EXPORT LibWebRTCTargets
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue