Commit ed40a399 authored by Andrius Štikonas's avatar Andrius Štikonas Committed by Alexander Lohnau
Browse files

Fix missing include directory warnings.

parent ff362526
Pipeline #117130 passed with stage
in 2 minutes and 13 seconds
......@@ -206,7 +206,6 @@ add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900)
set (KTORRENT_DBUS_XML_DIR ${CMAKE_SOURCE_DIR}/dbus_xml)
set (KTORRENT_PLUGIN_INSTALL_DIR ${PLUGIN_INSTALL_DIR}/ktorrent)
include_directories(Boost::boost)
add_subdirectory(libktcore)
add_subdirectory(plugins)
......
......@@ -71,7 +71,7 @@ target_link_libraries(ktcore PUBLIC
KF5::XmlGui
)
target_include_directories(ktcore PUBLIC "$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/libktcore;${KTORRENT_BINARY_DIR}/libktcore;${KTORRENT_BINARY_DIR}>")
target_include_directories(ktcore PUBLIC "$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/libktcore>")
install(TARGETS ktcore ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
......@@ -14,7 +14,7 @@ if (BUILD_WITH_GEOIP)
message(WARNING "GeoIP library development files could not be found on your system.")
else()
message(STATUS " Linking InfoWidget against system GeoIP library")
include_directories(GEOIP_INCLUDE_DIR)
include_directories(${GEOIP_INCLUDE_DIR})
set(geoip_link ${GEOIP_LIBRARY})
endif()
endif(BUILD_WITH_GEOIP)
......
Markdown is supported
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