summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-08-30 12:27:08 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-08-30 12:27:08 +0200
commitdd819a118cfaa889bec6563b6a8e1e969b91f7ee (patch)
tree25d53d489f9f5a670f2586a78e2fee924a2f3cc7 /CMake
parent885dbc41981a3ad44a1ade30d115a14bb55431e0 (diff)
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.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/setup.cmake2
1 files changed, 1 insertions, 1 deletions
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)