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
1 changed files with 1 additions and 1 deletions

View File

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