diff --git a/releases.json b/releases.json index ad2f7bcc17..16ca8305e6 100644 --- a/releases.json +++ b/releases.json @@ -1146,6 +1146,7 @@ "glut" ], "versions": [ + "3.8.0-2", "3.8.0-1", "3.6.0-1", "3.4.0-3", diff --git a/subprojects/packagefiles/freeglut/meson.build b/subprojects/packagefiles/freeglut/meson.build index feee480e0d..473e711f28 100644 --- a/subprojects/packagefiles/freeglut/meson.build +++ b/subprojects/packagefiles/freeglut/meson.build @@ -93,12 +93,15 @@ freeglut_deps = [ dep_glu, ] +compile_args = [] + if host_system == 'windows' if cc.get_id() == 'msvc' add_project_arguments( - '/source-charset:windows-1252', + ['/source-charset:windows-1252', '-DFREEGLUT_LIB_PRAGMAS=0'], language: 'c', ) + compile_args += '-DFREEGLUT_LIB_PRAGMAS=0' endif freeglut_sources += files( @@ -293,7 +296,6 @@ freeglut_def = configure_file( configuration: config, ) -compile_args = ['-DFREEGLUT_LIB_PRAGMAS=0'] if get_option('default_library') == 'static' compile_args += '-DFREEGLUT_STATIC' add_project_arguments(