From dd819a118cfaa889bec6563b6a8e1e969b91f7ee Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 30 Aug 2024 12:27:08 +0200 Subject: 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. --- CMake/setup.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMake/setup.cmake') diff --git a/CMake/setup.cmake b/CMake/setup.cmake index 332b92931..dee004ccf 100644 --- a/CMake/setup.cmake +++ b/CMake/setup.cmake @@ -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) -- cgit v1.2.3