fix math dependency

This commit is contained in:
Luca Conte 2025-03-11 10:52:47 +01:00
parent 94a2fee653
commit 9f7ce25ef2
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
project('cg1', 'c')
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)
src_files = [
'./src/main.c',
'./src/shader.c',
@ -11,6 +14,7 @@ executable('cg1',
dependencies: [
dependency('GL'),
dependency('glew'),
dependency('glfw3')
dependency('glfw3'),
m_dep
]
)