From 7e12981abd755a4411986ba341f66ede987c7636 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:53:48 +0100 Subject: To support difference in struct libdecor between built-in and system That should disappear when next version of libdecor will be released. --- CMake/options.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMake/options.cmake b/CMake/options.cmake index 3a80aed90..3f7369641 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -355,6 +355,10 @@ if(UNIX) set(FLTK_USE_LIBDECOR_GTK ON) else() option(FLTK_USE_LIBDECOR_GTK "Allow to use libdecor's GTK plugin" ON) + # Temporarily, while built-in and system struct libdecor differ. + # Later, the version of the system libdecor will be required to have same + # struct libdecor as the built-in libdecor. + set(CMAKE_ENABLE_EXPORTS 1) endif(USE_SYSTEM_LIBDECOR) if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "FreeBSD") -- cgit v1.2.3