macOS: Fix installing partial 'FLTK.framework' (#961)

... which is not a real macOS "Framework".

Note that users building and *installing* FLTK should either install in
a fresh directory or delete the entire 'FLTK.framework' tree if they
are reusing an existing install directory because it will not be
deleted by subsequent installs.
This commit is contained in:
Albrecht Schlosser 2024-08-30 12:27:08 +02:00
parent 885dbc4198
commit dd819a118c

View File

@ -96,7 +96,7 @@ set(STATICIMAGELIBS "")
if(WIN32 AND NOT CYGWIN)
set(FLTK_CONFIG_PATH CMake)
elseif(APPLE AND NOT FLTK_BACKEND_X11)
set(FLTK_CONFIG_PATH FLTK.framework/Resources/CMake)
set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
else()
set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
endif(WIN32 AND NOT CYGWIN)