Get CamelCase includes by listing KF5::KDE4Support

parent b0691b63
......@@ -27,7 +27,6 @@ endif()
set( CMAKE_INCLUDE_CURRENT_DIR ON )
set( CMAKE_AUTOMOC TRUE )
include_directories( ${KDE4_INCLUDES} )
include(FeatureSummary)
......
......@@ -148,7 +148,7 @@ install( FILES ${oktetacore_LIB_CCHDRS}
if(BUILD_TESTING)
add_library( testoktetacore STATIC ${oktetacore_LIB_OBJS} )
target_link_libraries( testoktetacore Qt5::Core )
target_link_libraries( testoktetacore Qt5::Core KF5::KDE4Support)
add_subdirectory( piecetable/tests )
add_subdirectory( tests )
endif()
......@@ -130,6 +130,7 @@ target_link_libraries( ${oktetagui_LIB} LINK_PUBLIC
target_link_libraries( ${oktetagui_LIB} LINK_PRIVATE
KF5::I18n
KF5::ConfigWidgets
KF5::KDE4Support
)
set_target_properties( ${oktetagui_LIB} PROPERTIES
OUTPUT_NAME ${oktetagui_LIB_NAME}
......
......@@ -398,6 +398,7 @@ add_library( poddecoder_objs OBJECT ${PODDECODERCONTROLLER_SRCS} )
target_include_directories( poddecoder_objs PUBLIC
$<TARGET_PROPERTY:Qt5::Core,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:Qt5::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:KF5::KDE4Support,INTERFACE_INCLUDE_DIRECTORIES>
)
add_library( structview_objs OBJECT ${STRUCTVIEW_TESTED_SRCS} )
target_include_directories( structview_objs PUBLIC
......@@ -405,6 +406,7 @@ target_include_directories( structview_objs PUBLIC
$<TARGET_PROPERTY:Qt5::Script,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:Qt5::Xml,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:Qt5::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:KF5::KDE4Support,INTERFACE_INCLUDE_DIRECTORIES>
)
set_target_properties(poddecoder_objs structview_objs PROPERTIES POSITION_INDEPENDENT_CODE ON)
set( PODDECODER_OBJS $<TARGET_OBJECTS:poddecoder_objs>)
......@@ -615,6 +617,6 @@ set( okteta_kastencontrollers_templates_SRCS
)
kde4_add_library( oktetakastencontrollertemplates STATIC ${okteta_kastencontrollers_templates_SRCS} )
target_link_libraries( oktetakastencontrollertemplates Qt5::Widgets )
target_link_libraries( oktetakastencontrollertemplates Qt5::Widgets KF5::KDE4Support)
endif( KASTEN_BUILD_INTERNAL_TEMPLATES )
......@@ -60,6 +60,7 @@ target_link_libraries( ${oktetakastencore_LIB} LINK_PUBLIC
target_link_libraries( ${oktetakastencore_LIB} LINK_PRIVATE
KF5::I18n
KF5::Bookmarks
KF5::KDE4Support
)
set_target_properties( ${oktetakastencore_LIB} PROPERTIES
......
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