micmacIGN / micmac

Free open-source photogrammetry software tools
http://micmac.ensg.eu
Other
705 stars 151 forks source link

Update GIMMI/CMakeLists.txt fix #issue-387697833 #111

Closed maximeseguin closed 5 years ago

maximeseguin commented 5 years ago

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).

rjanvier commented 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})

maximeseguin commented 5 years ago

You're right, it was only an ordering issue.

rjanvier commented 5 years ago

Thanks! Note that OPENGL_gl_LIBRARY is not needed either.