Build is working on both OSX and Windows. Now for linux.

This commit is contained in:
Zed A. Shaw 2025-03-06 20:22:51 -05:00
parent e1f9942da3
commit b7948f8154
6 changed files with 6 additions and 6 deletions

View file

@ -15,11 +15,6 @@ cc = meson.get_compiler('cpp')
dependencies = []
if build_machine.system() == 'windows'
sfml_main = dependency('sfml_main')
opengl32 = cc.find_library('opengl32', required: true)
winmm = cc.find_library('winmm', required: true)
gdi32 = cc.find_library('gdi32', required: true)
add_global_link_arguments(
'-static-libgcc',
'-static-libstdc++',
@ -27,6 +22,11 @@ if build_machine.system() == 'windows'
language: 'cpp',
)
sfml_main = dependency('sfml_main')
opengl32 = cc.find_library('opengl32', required: true)
winmm = cc.find_library('winmm', required: true)
gdi32 = cc.find_library('gdi32', required: true)
dependencies += [
opengl32, winmm, gdi32, sfml_main
]