mirror of https://github.com/fltk/fltk
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:
parent
885dbc4198
commit
dd819a118c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue