summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-13 18:53:48 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-13 18:53:48 +0100
commit7e12981abd755a4411986ba341f66ede987c7636 (patch)
tree8fd7298a96e18e62ee330d3956fc357030b76c01 /CMake
parent91d2bf4783fe46f2d46f851713f8ba2866aab68c (diff)
To support difference in struct libdecor between built-in and system
That should disappear when next version of libdecor will be released.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake4
1 files changed, 4 insertions, 0 deletions
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")