build: use CMakeLists.txt instead of config.h to define plugin macros
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
add_definitions (-DHAVE_CONFIG_H)
|
||||
|
||||
set (SOURCES
|
||||
gstniimaq.c)
|
||||
|
||||
|
||||
@@ -945,6 +945,9 @@ plugin_init (GstPlugin * plugin)
|
||||
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, niimaq,
|
||||
"NI-IMAQ source element", plugin_init, PACKAGE_VERSION, GST_LICENSE, PACKAGE_NAME,
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
GST_VERSION_MINOR,
|
||||
niimaq,
|
||||
"NI-IMAQ source element",
|
||||
plugin_init, GST_PACKAGE_VERSION, GST_PACKAGE_LICENSE, GST_PACKAGE_NAME,
|
||||
GST_PACKAGE_ORIGIN)
|
||||
|
||||
Reference in New Issue
Block a user