Commit d5118a8f authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Install pdb file for Debug configuration on Windows when using cmake.

parent d5bd9169
......@@ -79,9 +79,19 @@ set_target_properties(libbellesip PROPERTIES VERSION 1.2.4 SOVERSION 1)
target_link_libraries(libbellesip ${LIBS})
install(TARGETS libbellesip
COMPONENT COMP_libbellesip
DESTINATION ${LIB_INSTALL_DIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
COMPONENT COMP_libbellesip
DESTINATION ${LIB_INSTALL_DIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
if(WIN32)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/libbellesip.pdb
COMPONENT COMP_libbellesip
DESTINATION ${LIB_INSTALL_DIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
endif()
endif(WIN32)
if(USE_INSTALLED_COMPONENTS)
add_dependencies(libbellesip
......
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