added dwmapi dependecies

This commit is contained in:
U-DELL-LAPTOP-VKI\nikol 2021-12-13 18:26:39 +03:00
parent bd1490a007
commit fc06d42fc4
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ if not get_option('source-only')
pcre2_dep = dependency('libpcre2-8') pcre2_dep = dependency('libpcre2-8')
freetype_dep = dependency('freetype2') freetype_dep = dependency('freetype2')
sdl_dep = dependency('sdl2', method: 'config-tool') sdl_dep = dependency('sdl2', method: 'config-tool')
lite_deps = [lua_dep, sdl_dep, freetype_dep, pcre2_dep, libm, libdl, threads_dep] win_dep = cc.find_library('dwmapi', required : true)
lite_deps = [lua_dep, sdl_dep, freetype_dep, pcre2_dep, libm, libdl, threads_dep, win_dep]
endif endif
#=============================================================================== #===============================================================================
# Install Configuration # Install Configuration