Re: [fltk/fltk] Provide easier instructions for modern CMake (#164)
Mohammed Alyousef
Nov 23, 2020
Thanks for the insights. I agree having an installed fltk will likely be better if one’s using fltk regularly for different applications.
Normally FetchContent_MakeAvailable would also call add_subdirectory(${fltk_SOURCE_DIR} ${fltk_BUNARY_DIR}) according to the cmake docs. And it does work correctly except for the VS generator.
I actually haven’t tried FetchContent with a local file:/// url. it could work so it’s worth investigating, that would be cool. However a fetched module is for a single CMakeLists BINARY_DIR, so to reuse it one can use multiple add_executable calls, or would have to separate into different projects.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.