-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old-style package variable from the cmake config file
This leaves only the exported target in the file, which should be used.
- Loading branch information
Showing
1 changed file
with
1 addition
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
# - Config file for the @PROJECT_NAME@ package | ||
# It defines the following variables | ||
# @PROJECT_NAME@_INCLUDE_DIRS - include directories for @PROJECT_NAME@ | ||
# @PROJECT_NAME@_LIBRARIES - libraries to link against | ||
# It defines the LibtorrentRasterbar::torrent-rasterbar target to link against | ||
|
||
@PACKAGE_INIT@ | ||
|
||
include(CMakeFindDependencyMacro) | ||
@_find_dependency_calls@ | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/LibtorrentRasterbarTargets.cmake") | ||
|
||
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}") |