diff --git a/plugins/astyle/CMakeLists.txt b/plugins/astyle/CMakeLists.txt index 6d144ec453..84eecca606 100644 --- a/plugins/astyle/CMakeLists.txt +++ b/plugins/astyle/CMakeLists.txt @@ -1,38 +1,36 @@ -include_directories(lib) - add_definitions(-DTRANSLATION_DOMAIN=\"kdevastyle\") ecm_qt_declare_logging_category(kdevastyle_LOG_SRCS HEADER debug.h IDENTIFIER KDEV_ASTYLE CATEGORY_NAME "kdevelop.formatters.astyle" ) set(kdevastyle_PART_SRCS astyle_plugin.cpp astyle_preferences.cpp astyle_formatter.cpp astyle_stringiterator.cpp ${kdevastyle_LOG_SRCS} ) set(astyle_preferences_UI astyle_preferences.ui ) ki18n_wrap_ui(kdevastyle_PART_SRCS ${astyle_preferences_UI} ) kdevplatform_add_plugin(kdevastyle JSON kdevastyle.json SOURCES ${kdevastyle_PART_SRCS}) target_link_libraries(kdevastyle astylelib KF5::Parts KF5::KIOWidgets KF5::TextEditor KDev::Interfaces KDev::Util) add_subdirectory(3rdparty/libastyle) if(BUILD_TESTING) add_subdirectory(tests) endif()