FLTK logo

Re: [fltk.coredev] Regression in CMake-based build

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Regression in CMake-based build Albrecht Schlosser Aug 30, 2020  
 
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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.