|
|
On 8/29/20 5:15 PM Greg Ercolano wrote:
Question about the cmake constructed fltk-config(s):
Maybe it's a work in progress, but it seems like after a 'cmake .. && make',
/two/ fltk-config's are constructed:
> "build/fltk-config" (which works)
> "build/bin/fltk-config" (which doesn't)
The one in bin seems as if it's configured for a 'make install', since if I
try to use it, it fails to find libfltk.a because it's looking in /usr/local/lib64,
which would probably be the install directory.
Yep, that's what it is intended to be.
But since I never ran 'make install', the one in bin is a bit confusing.
The one in `bin` is the one that's going to be installed in `bin` in the
installation path. See CMAKE_INSTALL_PREFIX.
If we need the one in bin for an eventual 'make install' by the user,
perhaps it can be moved somewhere else with a different name until
it's actually installed, so people don't get confused and use the wrong one.
Sure, we could move it elsewhere, but that wouldn't help much WRT
confusing people since we'd still have two distinct files.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/cd23b44c-bcac-5afe-7af9-0e06e354a8fb%40online.de.
[ Direct Link to Message ] | |
|
| |