build: consistently have libgst prefix on all plugins

Before this, on Linux there'd be a liblibgst prefix
This commit is contained in:
Joshua M. Doe 2020-04-14 15:30:46 -04:00
parent 6c87791b95
commit 4ebc6b8c77
26 changed files with 30 additions and 27 deletions

View File

@ -2,6 +2,9 @@ cmake_minimum_required(VERSION "2.8.0")
project(gst-plugins-vision)
set(CMAKE_SHARED_MODULE_PREFIX "lib")
set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
# add local cmake modules
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${GIGESIM_INCLUDE_DIR})
set (libname libgstgigesim)
set (libname gstgigesim)
add_library (${libname} MODULE
${SOURCES}

View File

@ -10,7 +10,7 @@ include_directories (AFTER
${PROJECT_SOURCE_DIR}/common
)
set (libname libgstklv-1.0-0)
set (libname gstklv-1.0-0)
add_library (${libname} SHARED
${SOURCES}

View File

@ -8,7 +8,7 @@ set (HEADERS
include_directories (AFTER
)
set (libname libgstbayerutils)
set (libname gstbayerutils)
add_library (${libname} MODULE
${SOURCES}

View File

@ -8,7 +8,7 @@ set (HEADERS
include_directories (AFTER
${ORC_INCLUDE_DIR})
set (libname libgstextractcolor)
set (libname gstextractcolor)
add_library (${libname} MODULE
${SOURCES}

View File

@ -12,7 +12,7 @@ include_directories (AFTER
${PROJECT_SOURCE_DIR}/gst-libs/klv
)
set (libname libgstklv)
set (libname gstklv)
add_library (${libname} MODULE
${SOURCES}
@ -24,7 +24,7 @@ target_link_libraries (${libname}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
libgstklv-1.0-0)
gstklv-1.0-0)
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0 COMPONENT pdb)

View File

@ -11,7 +11,7 @@ set (HEADERS
include_directories (AFTER
${ORC_INCLUDE_DIR})
set (libname libgstmisb)
set (libname gstmisb)
add_library (${libname} MODULE
${SOURCES}

View File

@ -8,7 +8,7 @@ set (HEADERS
include_directories (AFTER
${ORC_INCLUDE_DIR})
set (libname libgstselect)
set (libname gstselect)
add_library (${libname} MODULE
${SOURCES}

View File

@ -9,7 +9,7 @@ include_directories (AFTER
${PROJECT_SOURCE_DIR}/common
)
set (libname libgstvideoadjust)
set (libname gstvideoadjust)
add_library (${libname} MODULE
${SOURCES}

View File

@ -10,7 +10,7 @@ include_directories (AFTER
${ORC_INCLUDE_DIR}
${APTINA_INCLUDE_DIR})
set (libname libgstaptina)
set (libname gstaptina)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${BITFLOW_INCLUDE_DIR})
set (libname libgstbitflow)
set (libname gstbitflow)
add_library (${libname} MODULE
${SOURCES}

View File

@ -10,7 +10,7 @@ set (HEADERS
include_directories (AFTER
${EDT_INCLUDE_DIR})
set (libname libgstedt)
set (libname gstedt)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${EURESYS_INCLUDE_DIR})
set (libname libgsteuresys)
set (libname gsteuresys)
add_library (${libname} MODULE
${SOURCES}

View File

@ -11,7 +11,7 @@ include_directories (AFTER
${GENICAM_INCLUDE_DIR}
C:/devel/aravis/src)
set (libname libgstgenicam)
set (libname gstgenicam)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${IDSUEYE_INCLUDE_DIR})
set (libname libgstidsueye)
set (libname gstidsueye)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${IMPERX_FLEX_INCLUDE_DIR})
set (libname libgstimperxflex)
set (libname gstimperxflex)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${IMPERX_SDI_INCLUDE_DIR})
set (libname libgstimperxsdi)
set (libname gstimperxsdi)
add_library (${libname} MODULE
${SOURCES}

View File

@ -11,7 +11,7 @@ include_directories (AFTER
${PROJECT_SOURCE_DIR}/common
)
set (libname libgstkaya)
set (libname gstkaya)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${MATROX_INCLUDE_DIR})
set (libname libgstmatrox)
set (libname gstmatrox)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${NIIMAQ_INCLUDE_DIR})
set (libname libgstniimaq)
set (libname gstniimaq)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${NIIMAQDX_INCLUDE_DIR})
set (libname libgstniimaqdx)
set (libname gstniimaqdx)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${PHOENIX_INCLUDE_DIR})
set (libname libgstphoenix)
set (libname gstphoenix)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${XCLIB_INCLUDE_DIR})
set (libname libgstpixci)
set (libname gstpixci)
add_library (${libname} MODULE
${SOURCES}

View File

@ -26,7 +26,7 @@ include_directories (AFTER
link_directories(${Pleora_LIBRARY_DIR})
set (libname libgstpleora${Pleora_VERSION_MAJOR})
set (libname gstpleora${Pleora_VERSION_MAJOR})
add_library (${libname} MODULE
${SOURCES}
@ -38,7 +38,7 @@ target_link_libraries (${libname}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
libgstklv-1.0-0)
gstklv-1.0-0)
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0 COMPONENT pdb)

View File

@ -10,7 +10,7 @@ include_directories (AFTER
${PYLON_INCLUDE_DIR}
)
set (libname libgstpylon)
set (libname gstpylon)
add_library (${libname} MODULE
${SOURCES}

View File

@ -7,7 +7,7 @@ set (HEADERS
include_directories (AFTER
${SAPERA_INCLUDE_DIR})
set (libname libgstsapera)
set (libname gstsapera)
add_library (${libname} MODULE
${SOURCES}