[build] Fix `find_library` usage finding SNPE dep
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 11 Sep 2023 07:01:57 +0000 (16:01 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 12 Sep 2023 02:44:43 +0000 (11:44 +0900)
- meson complains as `starting in "lib" only works by accident and is not portable`
- Change `libSNPE` to `SNPE`.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
meson.build

index 96a66c8..1950f91 100644 (file)
@@ -215,7 +215,7 @@ if not get_option('snpe-support').disabled()
           error('@0@ does not exists'.format(SNPE_ROOT))
         endif
 
-        snpe_lib = cxx.find_library('libSNPE',
+        snpe_lib = cxx.find_library('SNPE',
           dirs: join_paths(SNPE_ROOT, 'lib', 'x86_64-linux-clang'),
           required: true
         )