Browse Source

Use META_PLUGIN_CATEGORY within build directory

The *.so file might not be found when not in the right
subdirectory.
sendfile
Martchus 3 years ago
parent
commit
3d47869bcd
  1. 3
      cmake/modules/LibraryTarget.cmake

3
cmake/modules/LibraryTarget.cmake

@ -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

Loading…
Cancel
Save