Use META_PLUGIN_CATEGORY within build directory

The *.so file might not be found when not in the right
subdirectory.
This commit is contained in:
Martchus 2019-07-26 22:01:00 +02:00
parent 780ba7bc18
commit 3d47869bcd
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ else ()
${STATIC_LINKAGE}
AUTOGEN_TARGET_DEPENDS
"${AUTOGEN_DEPS}")
if (META_PLUGIN_CATEGORY)
set_target_properties(${META_TARGET_NAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${META_PLUGIN_CATEGORY}")
endif ()
endif ()
# populate META_PUBLIC_LIB_DEPENDS