Commit 10a5e730 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Install pdb file on Windows when building in RelWithDebInfo.

parent f6867f78
...@@ -338,8 +338,8 @@ if(ENABLE_SHARED) ...@@ -338,8 +338,8 @@ if(ENABLE_SHARED)
add_library(mswebrtc MODULE ${SOURCE_FILES}) add_library(mswebrtc MODULE ${SOURCE_FILES})
target_link_libraries(mswebrtc ${LIBS}) target_link_libraries(mswebrtc ${LIBS})
if(MSVC) if(MSVC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug") if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/libmswebrtc.pdb install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE}/libmswebrtc.pdb
DESTINATION ${CMAKE_INSTALL_BINDIR} DESTINATION ${CMAKE_INSTALL_BINDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment