[client] cmake: cosmetics

This commit is contained in:
Geoffrey McRae 2019-03-28 20:15:13 +11:00
parent 66c3c0115f
commit ee09594190
4 changed files with 7 additions and 23 deletions

View File

@ -1 +1 @@
a12-119-g3e021f3a6b+1 a12-120-g66c3c0115f+1

View File

@ -39,10 +39,5 @@ foreach(clipboard ${CLIPBOARDS})
endforeach() endforeach()
file(APPEND ${CLIPBOARD_C} " NULL\n};\n\n") file(APPEND ${CLIPBOARD_C} " NULL\n};\n\n")
add_library(clipboards STATIC add_library(clipboards STATIC ${CLIPBOARD_C})
${CLIPBOARD_C} target_link_libraries(clipboards ${CLIPBOARDS_LINK})
)
target_link_libraries(clipboards
${CLIPBOARDS_LINK}
)

View File

@ -37,10 +37,5 @@ foreach(font ${FONTS})
endforeach() endforeach()
file(APPEND ${FONT_C} " NULL\n};\n\n") file(APPEND ${FONT_C} " NULL\n};\n\n")
add_library(fonts STATIC add_library(fonts STATIC ${FONT_C})
${FONT_C} target_link_libraries(fonts ${FONTS_LINK})
)
target_link_libraries(fonts
${FONTS_LINK}
)

View File

@ -42,11 +42,5 @@ foreach(renderer ${RENDERERS})
endforeach() endforeach()
file(APPEND ${RENDERER_C} " NULL\n};") file(APPEND ${RENDERER_C} " NULL\n};")
add_library(renderers STATIC ${RENDERER_C})
add_library(renderers STATIC target_link_libraries(renderers ${RENDERERS_LINK})
${RENDERER_C}
)
target_link_libraries(renderers
${RENDERERS_LINK}
)