mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: adjust order of dependencies to link with
The order is important when linking statically.
This commit is contained in:
parent
6758075511
commit
afc60d96d0
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ if (NOT LIBSUPERDERPY_STATIC_GAMESTATES)
|
|||
target_link_libraries("libsuperderpy" dl)
|
||||
endif()
|
||||
|
||||
target_link_libraries("libsuperderpy" ${ALLEGRO5_LIBRARIES} ${ALLEGRO5_FONT_LIBRARIES} ${ALLEGRO5_TTF_LIBRARIES} ${ALLEGRO5_PRIMITIVES_LIBRARIES} ${ALLEGRO5_AUDIO_LIBRARIES} ${ALLEGRO5_ACODEC_LIBRARIES} ${ALLEGRO5_VIDEO_LIBRARIES} ${ALLEGRO5_COLOR_LIBRARIES} ${ALLEGRO5_IMAGE_LIBRARIES} m)
|
||||
target_link_libraries("libsuperderpy" ${ALLEGRO5_TTF_LIBRARIES} ${ALLEGRO5_FONT_LIBRARIES} ${ALLEGRO5_PRIMITIVES_LIBRARIES} ${ALLEGRO5_ACODEC_LIBRARIES} ${ALLEGRO5_AUDIO_LIBRARIES} ${ALLEGRO5_VIDEO_LIBRARIES} ${ALLEGRO5_COLOR_LIBRARIES} ${ALLEGRO5_IMAGE_LIBRARIES} ${ALLEGRO5_LIBRARIES} m)
|
||||
|
||||
if (LIBSUPERDERPY_IMGUI)
|
||||
target_link_libraries("libsuperderpy" cimgui)
|
||||
|
|
Loading…
Reference in a new issue