Closed maximeseguin closed 5 years ago
@maximeseguin thanks but this is non portable and redundant. Here I guess, It's only an ordering issue
try this instead
TARGET_LINK_LIBRARIES(GIMMI elise ${OPENGL_LIBRARIES} ${QT_LIBRARIES} ${X11_LIBRARIES} ${KAKADU_LIBRARIES})
You're right, it was only an ordering issue.
Thanks! Note that OPENGL_gl_LIBRARY is not needed either.
GL was forgotten in TARGET_LINK_LIBRAIRIES. It will fix compilation error of GIMMI under under Ubuntu 18.04 (https://github.com/micmacIGN/micmac/issues/110).