Skip to content

Commit

Permalink
macos fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
rindeal authored Aug 8, 2024
1 parent 1104106 commit 48d7f5e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project(
'amalgamate',
['cpp', ],
'cpp',
version : '1.0.0',
default_options : [
'cpp_std=c++17',
Expand All @@ -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()
Expand Down Expand Up @@ -56,7 +56,6 @@ if host_machine.system() == 'darwin'
executable_link_args += [
'-framework', 'Foundation',
'-framework', 'AppKit',

'-framework', 'CoreServices',
'-framework', 'IOKit',
'-framework', 'Security',
Expand All @@ -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'),
Expand Down

0 comments on commit 48d7f5e

Please sign in to comment.