We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629f606 commit 8a0d156Copy full SHA for 8a0d156
src/sage/libs/symmetrica/meson.build
@@ -1,9 +1,12 @@
1
-# Cannot be found by pkg-config
2
-symmetrica = cc.find_library(
3
- 'symmetrica',
4
- required: not is_windows,
5
- disabler: true,
6
-)
+symmetrica = dependency('symmetrica', required: false, disabler: true)
+if not symmetrica.found()
+ # fallback for older versions without pkg-config
+ symmetrica = cc.find_library(
+ 'symmetrica',
+ required: not is_windows,
7
+ disabler: true,
8
+ )
9
+endif
10
11
py.install_sources('__init__.py', 'all.py', subdir: 'sage/libs/symmetrica')
12
0 commit comments