diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/CMakeLists.txt | 3 | ||||
-rw-r--r-- | contrib/meson.build | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 5566941..10cfdc2 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -72,8 +72,7 @@ foreach(_src ${contrib_sxc_filter_SRCS}) string(REGEX REPLACE "ufo-([^ \\.]+)-task.*" "\\1" task "${_src}") # build string to get miscalleanous sources - string(REPLACE "-" "_" _misc ${task}) - string(TOUPPER ${_misc} _misc_upper) + set(target "ufofilter${task}") # create an option name and add this to disable filters set(_misc "${_misc}_misc_SRCS") diff --git a/contrib/meson.build b/contrib/meson.build index 80da0db..22b638a 100644 --- a/contrib/meson.build +++ b/contrib/meson.build @@ -13,9 +13,7 @@ kernels = [ ] foreach plugin: plugins - name = ''.join(plugin.split('-')) - - shared_module(name, + shared_module(plugin, sources: ['ufo-@0@-task.c'.format(plugin), 'ufo-sxc-common.c'], dependencies: deps, name_prefix: 'libufofilter', |