CMake: fix "LIBDECOR_PLUGIN_DIR" undefined error

This could happen on Linux if built with CMake option
  "-DFLTK_USE_SYSTEM_LIBDECOR=OFF"
This commit is contained in:
Albrecht Schlosser 2024-02-14 22:57:55 +01:00
parent b282ee0335
commit 0987c763ec

View File

@ -345,6 +345,8 @@ if(UNIX)
set(USE_SYSTEM_LIBDECOR 0)
endif()
endif(NOT SYSTEM_LIBDECOR_FOUND)
else()
set(USE_SYSTEM_LIBDECOR 0)
endif(FLTK_USE_SYSTEM_LIBDECOR)
if(USE_SYSTEM_LIBDECOR)