|
|
I'm using the tip of master 1.4.0.
I'm building with CMake, with FIND_PACKAGE(FLTK CONFIG REQUIRED).
No matter whether I specify my libraries via:
TARGET_LINK_LIBRARIES(foo ${FLTK_LIBRARIES} )
orTARGET_LINK_LIBRARIES(foo fltk::z fltk::png fltk::jpeg fltk::fltk fltk::forms fltk::images fltk::gl
[3/5] Linking CXX executable foo
ld: warning: ignoring duplicate libraries: 'fltk/install/lib/libfltk.a', 'fltk/install/lib/libfltk_jpeg.a', 'fltk/install/lib/libfltk_png.a', 'fltk/install/lib/libfltk_z.a'
This seems harmless enough, but it would be great to make it go away. I've spent the past few hours trying different things, but I can't figure out how CMake is duplicating these libraries.
Is anyone else seeing this sort of thing?
Rob
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/ca295e34-e4a6-4f4f-9467-95dff77a64ebn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |