diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1f28af5..4a5884a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,7 +25,6 @@ jobs: base-devel git libtool - mingw-w64-ucrt-x86_64-gcc-objc mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-lcms2 mingw-w64-ucrt-x86_64-meson diff --git a/meson.build b/meson.build index 890405a..b5e417b 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('ICCConvert', ['c', 'cpp', 'objc'], +project('ICCConvert', ['c', 'cpp'], license: 'LGPL2.1+', default_options: ['buildtype=release', 'b_ndebug=if-release', 'c_std=c11', 'cpp_std=c++17', 'optimization=2'], meson_version: '>=0.51.0', @@ -56,6 +56,7 @@ elif host_machine.system() == 'darwin' deps += dependency('lcms2') dep_cocoa = dependency('appleframeworks', modules: 'Cocoa', required: false) if dep_cocoa.found() + add_languages('objc', native: true) auto_profile_args += '-DAUTO_PROFILE_COCOA' deps += dep_cocoa shared_module('iccc_cocoa', 'src/detection/cocoa.m',