Is your feature request related to a problem? Please describe.
This is a feature request albeit I consider it a bug, as FLTK is the only library that exhibits this.
When building FLTK with ExternalProject_Add and setting CMAKE_PREFIX_PATH to the same install location of CMAKE_INSTALL_PREFIX, FLTK will read the .H files from CMAKE_INSTALL_PREFIX first instead of those from its own checkout FL directory, leading often to having the .H and .cxx files become out of sync.
I am using FLTK
Describe the solution you'd like
FLTK should build with its contents only putting its internal Fl/ direcory first in the list of include directories, so FLTK builds in a sandbox.
I think something is broken in the CMake build files that makes FLTK not do this.
Describe alternatives you've considered
None. Currently I am being forced to remember to do:
rm -rf $BUILD_DIR/include/FL
but that is error prone.
Additional context
Thank you Albrecht and sorry for drawing you insane with CMake requests 👍
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/962@github.com>
[ Direct Link to Message ] |