| |
@@ -156,7 +156,7 @@
|
| |
-DINSTALL_FONTS:BOOL=FALSE \
|
| |
-DUSE_EXTERNAL_PUGIXML:BOOL=TRUE \
|
| |
-DSTOP_ON_WARNING:BOOL=FALSE \
|
| |
- -DJPEG_INCLUDE_DIR=%{_includedir} \
|
| |
+ -DJPEG_INCLUDE_DIR=$(pkgconf --variable=includedir libjpeg) \
|
| |
-DOPENJPEG_INCLUDE_DIR=$(pkgconf --variable=includedir libopenjp2) \
|
| |
-DOpenGL_GL_PREFERENCE=GLVND \
|
| |
-DVERBOSE=TRUE
|
| |
Installation path macros cannot be used to refer to the location of dependencies. When building this package for flatpaks in
/app
, libjpeg is still in/usr
as part of the runtime.