File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -710,7 +710,7 @@ macro(CheckWayland)
710710
711711 if (SDL_WAYLAND_LIBDECOR)
712712 pkg_check_modules(PKG_LIBDECOR libdecor-0)
713- if (PKG_LIBDECOR )
713+ if (PKG_LIBDECOR_FOUND )
714714 set (HAVE_WAYLAND_LIBDECOR TRUE )
715715 set (HAVE_LIBDECOR_H 1)
716716 target_link_directories (sdl-build -options INTERFACE "${PKG_LIBDECOR_LIBRARY_DIRS} " )
@@ -720,7 +720,7 @@ macro(CheckWayland)
720720 endif ()
721721 FindLibraryAndSONAME(decor-0 LIBDIRS ${PKG_LIBDECOR_LIBRARY_DIRS} )
722722 if (SDL_WAYLAND_LIBDECOR_SHARED AND DECOR_0_LIB AND HAVE_SDL_LOADSO)
723- set (HAVE_LIBDECOR_SHARED TRUE )
723+ set (HAVE_WAYLAND_LIBDECOR_SHARED TRUE )
724724 set (SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR "\" ${DECOR_0_LIB_SONAME} \" " )
725725 else ()
726726 list (APPEND EXTRA_LIBS ${PKG_LIBDECOR_LIBRARIES} )
You can’t perform that action at this time.
0 commit comments