summarylogtreecommitdiffstats
path: root/030-intel-media-libcttmetrics-static-only.patch
blob: ad2dba8e9a2ebaa1d0706c8bdd31651a843a8049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/samples/metrics_monitor/CMakeLists.txt
+++ b/samples/metrics_monitor/CMakeLists.txt
@@ -11,8 +11,7 @@ if( PKG_LIBDRM_FOUND AND ("${PKG_LIBDRM_VERSION}" VERSION_GREATER 2.4.91))
 
     set(DEPENDENCIES libdrm )
 
-    make_library( cttmetrics none shared )
-    make_library( cttmetrics_static none static )
+    make_library( cttmetrics none static )
 
     install( TARGETS cttmetrics LIBRARY DESTINATION ${MFX_SAMPLES_INSTALL_BIN_DIR} )