Fix CMake targets names in the Config.cmake file.

This fixes error introduced by 44b5777be3
where this entry was forgotten.
This commit is contained in:
Eugene Shalygin 2018-05-14 11:01:44 +02:00 committed by Arvid Norberg
parent f4d7ff592e
commit 17e9ce9dfd
1 changed files with 4 additions and 4 deletions

View File

@ -8,9 +8,9 @@
include(CMakeFindDependencyMacro)
@_find_dependency_calls@
include("${CMAKE_CURRENT_LIST_DIR}/libtorrent-rasterbar-targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/LibtorrentRasterbarTargets.cmake")
get_target_property(@PROJECT_NAME@_INCLUDE_DIRS Libtorrent::torrent-rasterbar INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(_lt_iface_link_libraries Libtorrent::torrent-rasterbar INTERFACE_LINK_LIBRARIES)
get_target_property(_lt_imported_location Libtorrent::torrent-rasterbar IMPORTED_LOCATION)
get_target_property(@PROJECT_NAME@_INCLUDE_DIRS LibtorrentRasterbar::torrent-rasterbar INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(_lt_iface_link_libraries LibtorrentRasterbar::torrent-rasterbar INTERFACE_LINK_LIBRARIES)
get_target_property(_lt_imported_location LibtorrentRasterbar::torrent-rasterbar IMPORTED_LOCATION)
set(@PROJECT_NAME@_LIBRARIES "${_lt_imported_location};${_lt_iface_link_libraries}")