FLTK logo

Re: [fltk/fltk] macOS: Generating fltk.framework (Issue #961)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] macOS: Generating fltk.framework (Issue #961) ManoloFLTK 03:33 Apr 28  
 

@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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.