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:
parent
b282ee0335
commit
0987c763ec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user