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:
parent
131e8aaa8a
commit
0dce25ba0f
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue