|
|
@MatthiasWM @Albrecht-S It turns out the confusing name "FLTK.framework" can be avoided as follows:
-
replace line 99 of CMake/setup.cmake
set(FLTK_CONFIG_PATH FLTK.framework/Resources/CMake)
by, for example,
set(FLTK_CONFIG_PATH FLTK.cmake-config)
-
Use that name in the client's CMakeLists.txt when defining FLTK_DIR which indicates where the FLTK "package" can be found:
set(FLTK_DIR "/usr/local/FLTK.cmake-config" CACHE FILEPATH "FLTK installation or build directory")
The result is that CMake builds correctly the client app using the installed set of FLTK libs and no non-framework directory with the .framework extension gets created. A small problem is that make uninstall doesn't delete these directories.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/961/2081427511@github.com>
[ Direct Link to Message ] | |
|
| |