diff --git a/meson.build b/meson.build index c7439a4..876f411 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project( 'amalgamate', - ['cpp', ], + 'cpp', version : '1.0.0', default_options : [ 'cpp_std=c++17', @@ -11,7 +11,7 @@ project( ], ) if host_machine.system() == 'darwin' - add_languages('objcpp', native: true, required: true) + add_languages('objcpp', required: true) endif executable_name = meson.project_name() @@ -56,7 +56,6 @@ if host_machine.system() == 'darwin' executable_link_args += [ '-framework', 'Foundation', '-framework', 'AppKit', - '-framework', 'CoreServices', '-framework', 'IOKit', '-framework', 'Security', @@ -66,8 +65,7 @@ endif executable_dependencies = [] if host_machine.system() == 'linux' or host_machine.system() == 'darwin' executable_dependencies += [ cpp_compiler.find_library('dl'), ] -endif -if host_machine.system() == 'windows' +elif host_machine.system() == 'windows' executable_dependencies += [ cpp_compiler.find_library('Shlwapi'), cpp_compiler.find_library('Version'),