Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
libktorrent
Commits
4a882244
Commit
4a882244
authored
Aug 10, 2022
by
Laurent Montel
Browse files
Fix install headers
parent
55b90666
Pipeline
#215585
passed with stage
in 2 minutes and 10 seconds
Changes
14
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
4a882244
...
...
@@ -254,7 +254,7 @@ endif()
if
(
WIN32
)
target_link_libraries
(
KF5Torrent ws2_32
)
endif
(
WIN32
)
target_include_directories
(
KF5Torrent INTERFACE
"$<INSTALL_INTERFACE:
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent>"
)
target_include_directories
(
KF5Torrent INTERFACE
"$<INSTALL_INTERFACE:
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent>"
)
target_include_directories
(
KF5Torrent PUBLIC
"$<BUILD_INTERFACE:
${
LIBKTORRENT_SOURCE_DIR
}
/src;
${
LIBKTORRENT_BINARY_DIR
}
/src;
${
LIBKTORRENT_BINARY_DIR
}
>"
)
...
...
@@ -293,10 +293,10 @@ set (bcodec_HDR
bcodec/value.h
)
install
(
FILES
${
bcodec_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/bcodec COMPONENT Devel
)
install
(
FILES
${
interfaces_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/interfaces COMPONENT Devel
)
install
(
FILES
${
migrate_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/migrate COMPONENT Devel
)
install
(
FILES
${
ktorrent_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent COMPONENT Devel
)
install
(
FILES
${
bcodec_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/bcodec COMPONENT Devel
)
install
(
FILES
${
interfaces_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/interfaces COMPONENT Devel
)
install
(
FILES
${
migrate_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/migrate COMPONENT Devel
)
install
(
FILES
${
ktorrent_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent COMPONENT Devel
)
add_subdirectory
(
torrent
)
add_subdirectory
(
datachecker
)
...
...
src/datachecker/CMakeLists.txt
View file @
4a882244
...
...
@@ -10,4 +10,4 @@ set(datachecker_HDR
datacheckerjob.h
)
install
(
FILES
${
datachecker_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/datachecker COMPONENT Devel
)
install
(
FILES
${
datachecker_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/datachecker COMPONENT Devel
)
src/dht/CMakeLists.txt
View file @
4a882244
...
...
@@ -29,7 +29,7 @@ set(dht_HDR
rpcmsgfactory.h
)
install
(
FILES
${
dht_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/dht COMPONENT Devel
)
install
(
FILES
${
dht_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/dht COMPONENT Devel
)
if
(
BUILD_TESTING
)
add_subdirectory
(
tests
)
...
...
src/diskio/CMakeLists.txt
View file @
4a882244
...
...
@@ -17,4 +17,4 @@ set(diskio_HDR
piecedata.h
)
install
(
FILES
${
diskio_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/diskio COMPONENT Devel
)
install
(
FILES
${
diskio_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/diskio COMPONENT Devel
)
src/download/CMakeLists.txt
View file @
4a882244
...
...
@@ -12,4 +12,4 @@ set (download_HDR
webseed.h
)
install
(
FILES
${
download_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/download COMPONENT Devel
)
install
(
FILES
${
download_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/download COMPONENT Devel
)
src/magnet/CMakeLists.txt
View file @
4a882244
...
...
@@ -4,7 +4,7 @@ set (magnet_HDR
metadatadownload.h
)
install
(
FILES
${
magnet_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/magnet COMPONENT Devel
)
install
(
FILES
${
magnet_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/magnet COMPONENT Devel
)
if
(
BUILD_TESTING
)
add_subdirectory
(
tests
)
...
...
src/mse/CMakeLists.txt
View file @
4a882244
...
...
@@ -11,4 +11,4 @@ set(mse_HDR
encryptedpacketsocket.h
)
install
(
FILES
${
mse_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/mse COMPONENT Devel
)
install
(
FILES
${
mse_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/mse COMPONENT Devel
)
src/net/CMakeLists.txt
View file @
4a882244
...
...
@@ -24,4 +24,4 @@ set(net_HDR
serversocket.h
)
install
(
FILES
${
net_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/net COMPONENT Devel
)
install
(
FILES
${
net_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/net COMPONENT Devel
)
src/peer/CMakeLists.txt
View file @
4a882244
...
...
@@ -19,7 +19,7 @@ set(peer_HDR
connectionlimit.h
)
install
(
FILES
${
peer_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/peer COMPONENT Devel
)
install
(
FILES
${
peer_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/peer COMPONENT Devel
)
if
(
BUILD_TESTING
)
add_subdirectory
(
tests
)
...
...
src/torrent/CMakeLists.txt
View file @
4a882244
...
...
@@ -17,7 +17,7 @@ set(torrent_HDR
torrentfilestream.h
)
install
(
FILES
${
torrent_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/torrent COMPONENT Devel
)
install
(
FILES
${
torrent_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/torrent COMPONENT Devel
)
if
(
BUILD_TESTING
)
add_subdirectory
(
tests
)
...
...
src/tracker/CMakeLists.txt
View file @
4a882244
...
...
@@ -7,4 +7,4 @@ set(tracker_HDR
kioannouncejob.h
)
install
(
FILES
${
tracker_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/tracker COMPONENT Devel
)
install
(
FILES
${
tracker_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/tracker COMPONENT Devel
)
src/upnp/CMakeLists.txt
View file @
4a882244
...
...
@@ -3,4 +3,4 @@ set (upnp_HDR
upnpmcastsocket.h
)
install
(
FILES
${
upnp_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/upnp COMPONENT Devel
)
install
(
FILES
${
upnp_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/upnp COMPONENT Devel
)
src/util/CMakeLists.txt
View file @
4a882244
...
...
@@ -34,4 +34,4 @@ set(util_HDR ${util_HDR}
)
endif
(
NOT WIN32
)
install
(
FILES
${
util_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/util COMPONENT Devel
)
install
(
FILES
${
util_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/util COMPONENT Devel
)
src/utp/CMakeLists.txt
View file @
4a882244
...
...
@@ -12,7 +12,7 @@ set(utp_HDR
packetbuffer.h
)
install
(
FILES
${
utp_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
5
}
/libktorrent/utp COMPONENT Devel
)
install
(
FILES
${
utp_HDR
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR_KF
}
/libktorrent/utp COMPONENT Devel
)
if
(
BUILD_TESTING
)
add_subdirectory
(
tests
)
endif
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment