From eec2846651a7c98a0ec62f47bb395d7bec9544b6 Mon Sep 17 00:00:00 2001 From: Axel Isouard Date: Mon, 27 Mar 2017 13:27:14 +0200 Subject: [PATCH] Install CMake target files, from libwebrtc target this time --- libwebrtc/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libwebrtc/CMakeLists.txt b/libwebrtc/CMakeLists.txt index 8950988..3bd06ef 100644 --- a/libwebrtc/CMakeLists.txt +++ b/libwebrtc/CMakeLists.txt @@ -52,3 +52,10 @@ install(TARGETS webrtc RUNTIME DESTINATION bin LIBRARY DESTINATION lib INCLUDES DESTINATION include) + +install(EXPORT LibWebRTCTargets + FILE LibWebRTCTargets.cmake + DESTINATION ${INSTALL_CMAKE_DIR}) + +install(FILES ${CMAKE_MODULE_PATH}/Templates/UseLibWebRTC.cmake + DESTINATION ${INSTALL_CMAKE_DIR})