Commit 4a882244 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix install headers

parent 55b90666
Pipeline #215585 passed with stage
in 2 minutes and 10 seconds
......@@ -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_KF5}/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_KF5}/libktorrent/bcodec COMPONENT Devel)
install(FILES ${interfaces_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/interfaces COMPONENT Devel)
install(FILES ${migrate_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/migrate COMPONENT Devel)
install(FILES ${ktorrent_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/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)
......
......@@ -10,4 +10,4 @@ set(datachecker_HDR
datacheckerjob.h
)
install(FILES ${datachecker_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/datachecker COMPONENT Devel)
install(FILES ${datachecker_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/datachecker COMPONENT Devel)
......@@ -29,7 +29,7 @@ set(dht_HDR
rpcmsgfactory.h
)
install(FILES ${dht_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/dht COMPONENT Devel)
install(FILES ${dht_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/dht COMPONENT Devel)
if(BUILD_TESTING)
add_subdirectory(tests)
......
......@@ -17,4 +17,4 @@ set(diskio_HDR
piecedata.h
)
install(FILES ${diskio_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/diskio COMPONENT Devel)
install(FILES ${diskio_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/diskio COMPONENT Devel)
......@@ -12,4 +12,4 @@ set (download_HDR
webseed.h
)
install(FILES ${download_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/download COMPONENT Devel)
install(FILES ${download_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/download COMPONENT Devel)
......@@ -4,7 +4,7 @@ set (magnet_HDR
metadatadownload.h
)
install(FILES ${magnet_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/magnet COMPONENT Devel)
install(FILES ${magnet_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/magnet COMPONENT Devel)
if(BUILD_TESTING)
add_subdirectory(tests)
......
......@@ -11,4 +11,4 @@ set(mse_HDR
encryptedpacketsocket.h
)
install(FILES ${mse_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/mse COMPONENT Devel)
install(FILES ${mse_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/mse COMPONENT Devel)
......@@ -24,4 +24,4 @@ set(net_HDR
serversocket.h
)
install(FILES ${net_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/net COMPONENT Devel)
install(FILES ${net_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/net COMPONENT Devel)
......@@ -19,7 +19,7 @@ set(peer_HDR
connectionlimit.h
)
install(FILES ${peer_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/peer COMPONENT Devel)
install(FILES ${peer_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/peer COMPONENT Devel)
if(BUILD_TESTING)
add_subdirectory(tests)
......
......@@ -17,7 +17,7 @@ set(torrent_HDR
torrentfilestream.h
)
install(FILES ${torrent_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/torrent COMPONENT Devel)
install(FILES ${torrent_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/torrent COMPONENT Devel)
if(BUILD_TESTING)
add_subdirectory(tests)
......
......@@ -7,4 +7,4 @@ set(tracker_HDR
kioannouncejob.h
)
install(FILES ${tracker_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/tracker COMPONENT Devel)
install(FILES ${tracker_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/tracker COMPONENT Devel)
......@@ -3,4 +3,4 @@ set (upnp_HDR
upnpmcastsocket.h
)
install(FILES ${upnp_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/upnp COMPONENT Devel)
install(FILES ${upnp_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/upnp COMPONENT Devel)
......@@ -34,4 +34,4 @@ set(util_HDR ${util_HDR}
)
endif(NOT WIN32)
install(FILES ${util_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/util COMPONENT Devel)
install(FILES ${util_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/util COMPONENT Devel)
......@@ -12,7 +12,7 @@ set(utp_HDR
packetbuffer.h
)
install(FILES ${utp_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libktorrent/utp COMPONENT Devel)
install(FILES ${utp_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/libktorrent/utp COMPONENT Devel)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
Supports Markdown
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