From 9777a9a1d6cb135bed5b49d2ecc9b5d66b57aea7 Mon Sep 17 00:00:00 2001 From: Vivia Nikolaidou Date: Thu, 31 Oct 2024 16:11:45 +0200 Subject: [PATCH] CMakeLists: Don't put target .so files in subdirectory Otherwise the plugin will fail to load --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c147aed..49bcf25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -150,10 +150,15 @@ if (NOT APPLE) COPY_FILES("gstcef" "${CEF_BINARY_FILES}" "${CEF_BINARY_DIR}" "${CEF_TARGET_OUT_DIR}") COPY_FILES("gstcef" "${CEF_RESOURCE_FILES}" "${CEF_RESOURCE_DIR}" "${CEF_TARGET_OUT_DIR}") install( - DIRECTORY "${CEF_RESOURCE_DIR}" "${CEF_BINARY_DIR}" + DIRECTORY "${CEF_RESOURCE_DIR}" DESTINATION . USE_SOURCE_PERMISSIONS ) + install( + DIRECTORY ${CEF_TARGET_OUT_DIR}/ + DESTINATION . + USE_SOURCE_PERMISSIONS + ) else() # Unlike in other OSes, CEF on macOS relies on several independent "helper" # app bundles to call up different sandboxed aspects of the CEF process.