|
@@ -67,16 +67,17 @@ compiler = meson.get_compiler('cpp')
|
|
|
args = compiler.get_supported_arguments(['-Wall', '-Wextra', '-pedantic', '-Werror'])
|
|
|
|
|
|
thread_dep = dependency('threads')
|
|
|
-glew_dep = dependency('glew')
|
|
|
glfw_dep = dependency('glfw3')
|
|
|
gl_dep = dependency('GL')
|
|
|
|
|
|
+glew_proj = subproject('glew')
|
|
|
+glew_dep = glew_proj.get_variable('glew_dep')
|
|
|
+
|
|
|
ws2_32_dep = compiler.find_library('ws2_32', required: false)
|
|
|
winmm_dep = compiler.find_library('winmm', required: false)
|
|
|
glu_dep = compiler.find_library('glu32', required: false)
|
|
|
|
|
|
libgamingcore_include = include_directories('.',
|
|
|
- glew_dep.get_pkgconfig_variable('includedir'),
|
|
|
glfw_dep.get_pkgconfig_variable('includedir'))
|
|
|
|
|
|
libgamingcore = static_library('gamingcore',
|