build: use CMakeLists.txt instead of config.h to define plugin macros

This commit is contained in:
Joshua M. Doe
2017-09-26 12:46:55 -04:00
parent 28f41f998a
commit bbba3dae51
28 changed files with 33 additions and 52 deletions

View File

@@ -1,5 +1,3 @@
add_definitions (-DHAVE_CONFIG_H)
set (SOURCES
gstniimaqdx.c)

View File

@@ -1267,5 +1267,5 @@ plugin_init (GstPlugin * plugin)
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, niimaqdx,
"NI-IMAQdx source element", plugin_init, PACKAGE_VERSION, GST_LICENSE, PACKAGE_NAME,
GST_PACKAGE_ORIGIN)
"NI-IMAQdx source element", plugin_init, GST_PACKAGE_VERSION,
GST_PACKAGE_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)