File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
find_package (PkgConfig REQUIRED)
2
2
pkg_check_modules(GOBJECT gobject-2.0 REQUIRED)
3
- pkg_check_modules(GSTREAMER gstreamer-1.0 gstreamer-base-1.0 gstreamer-plugins-base-1.0 )
3
+ pkg_check_modules(GSTREAMER gstreamer-1.0 gstreamer-base-1.0)
4
4
add_library (gstpocketsphinx SHARED gstpocketsphinx.c)
5
5
set_property (TARGET pocketsphinx PROPERTY POSITION_INDEPENDENT_CODE on )
6
6
target_link_libraries (gstpocketsphinx PUBLIC
@@ -17,3 +17,5 @@ target_include_directories(
17
17
gstpocketsphinx INTERFACE ${CMAKE_BINARY_DIR} /include
18
18
gstpocketsphinx PUBLIC ${GSTREAMER_INCLUDE_DIRS} ${GOBJECT_INCLUDE_DIRS}
19
19
)
20
+ message ("Installing GStreamer plugin to ${CMAKE_INSTALL_FULL_LIBDIR} /gstreamer-1.0" )
21
+ install (TARGETS gstpocketsphinx LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} /gstreamer-1.0)
You can’t perform that action at this time.
0 commit comments