fltk/CMake
Albrecht Schlosser bc63ea7629 CMake: improve linking OpenGL3 example programs (#959)
- Remove find_library(LIB_GLEW ...) from 'resources.cmake'

- Use the variable FLTK_GLEW_DIR to "find" a user supplied GLEW library
  for OpenGL3 example programs (examples/OpenGL3*.cxx).
  Both static and shared libs (DLLs) are supported, but the static
  library is preferred to avoid DLL dependencies.

- Define preprocessor macro 'GLEW_STATIC' by CMake compile definitions
  if and only if the static glew library (glew32s) was found and linked.
  The previous code defined 'GLEW_STATIC' unconditionally in the source
  code which led to undefined references if a shared lib (DLL) was used.
2024-05-13 15:19:27 +02:00
..
FLTK-Functions.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
FLTKConfig.cmake.in Fix "Cannot build project with CMake ..." (#970) 2024-05-13 12:05:27 +02:00
MacOSXBundleInfo.plist.in Mac OS + CMake: this file is used by CMake to build the Info.plist files of the application 2015-12-26 16:14:19 +00:00
cmake_uninstall.cmake.in Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
compatibility.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
export.cmake CMake: remove unintended debug output 2024-02-14 17:51:51 +01:00
fl_add_library.cmake CMake: make compile definition "FL_DLL" public for MSVC (#960) 2024-04-27 18:35:39 +02:00
fl_create_example.cmake CMake: improve formatting, remove debug statements 2024-02-13 15:10:06 +01:00
fl_debug_pkg.cmake CMake: improve formatting, remove debug statements 2024-02-13 15:10:06 +01:00
fl_debug_var.cmake CMake: improve output of fl_debug_target() 2024-05-05 19:41:50 +02:00
fl_summary.cmake CMake build summary: output libdecor location if found 2024-04-20 19:49:04 +02:00
install-symlinks.cmake.in CMake: improve formatting, remove debug statements 2024-02-13 15:10:06 +01:00
install.cmake CMake: improve formatting, remove debug statements 2024-02-13 15:10:06 +01:00
macOS-bundle-wrapper.in Create macOS "bundle wrapper" scripts (#115) 2020-07-23 02:07:43 +02:00
options.cmake CMake: improve finding cairo.dll on Windows 2024-05-13 15:18:04 +02:00
posixScandir.cxx CMake: fix potential compiler warning in test file. 2017-06-29 18:27:07 +00:00
pthread_mutex_recursive.c Call pthread's recursive mutex on Linux (Issue #245) 2021-07-21 12:16:20 +02:00
resources.cmake CMake: improve linking OpenGL3 example programs (#959) 2024-05-13 15:19:27 +02:00
setup.cmake macOS + CMake: fix use of optional framework UniformTypeIdentifiers 2024-05-03 15:23:42 +02:00
variables.cmake Fix and improve generation of fltk-config (#954 and more) 2024-04-14 19:15:08 +02:00