From 84e39ffca742ca1f21e643a54a3aadf3df586ee8 2017-11-21 14:29:33 From: mperrinel Date: 2017-11-21 14:29:33 Subject: [PATCH] Add link option for MAC --- diff --git a/meson.build b/meson.build index 1963dfa..8ee42fa 100644 --- a/meson.build +++ b/meson.build @@ -13,12 +13,8 @@ qt5test = dependency('qt5', modules : 'Test') moc = find_program('moc-qt5','moc') rcc = find_program('rcc-qt5','rcc') -subdir('core') -subdir('gui') -subdir('app') -subdir('plugins') - if build_machine.system()=='darwin' + add_global_link_arguments('-headerpad_max_install_names', language : 'cpp') install_data('build_cfg/mac/sciqlopLOGO.icns', install_dir : 'Contents/Resources') install_data('build_cfg/mac/Info.plist', install_dir : 'Contents') meson.add_install_script('build_cfg/mac/install_script.sh') @@ -26,6 +22,11 @@ elif host_machine.system()=='windows' meson.add_install_script('build_cfg/windows/install_script.sh') endif +subdir('core') +subdir('gui') +subdir('app') +subdir('plugins') + cppcheck = find_program('cppcheck', required : false) if cppcheck.found()