Consolidate target_link_libraries() calls

There's no reason I can find for the various calls to
target_link_libraries to be separate, separated by export headers
This commit is contained in:
Adriaan de Groot 2020-05-31 22:24:08 +02:00
parent 131e8aaa8a
commit 0dce25ba0f

View file

@ -687,11 +687,9 @@ set_target_properties(kwin PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
)
target_link_libraries(kwin ${kwinLibs})
target_link_libraries(kwin ${kwinLibs} kwinglutils ${epoxy_LIBRARY})
generate_export_header(kwin EXPORT_FILE_NAME kwin_export.h)
target_link_libraries(kwin kwinglutils ${epoxy_LIBRARY})
add_executable(kwin_x11 main_x11.cpp)
target_link_libraries(kwin_x11 kwin KF5::Crash Qt5::X11Extras)