Skip to content

Commit 0e470f5

Browse files
Vivia NikolaidouMathieuDuponchelle
authored andcommitted
CMakeLists: Don't put target .so files in subdirectory
Otherwise the plugin will fail to load
1 parent 7b61400 commit 0e470f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,15 @@ if (NOT APPLE)
149149
COPY_FILES("gstcef" "${CEF_BINARY_FILES}" "${CEF_BINARY_DIR}" "${CEF_TARGET_OUT_DIR}")
150150
COPY_FILES("gstcef" "${CEF_RESOURCE_FILES}" "${CEF_RESOURCE_DIR}" "${CEF_TARGET_OUT_DIR}")
151151
install(
152-
DIRECTORY "${CEF_RESOURCE_DIR}" "${CEF_BINARY_DIR}"
152+
DIRECTORY "${CEF_RESOURCE_DIR}"
153153
DESTINATION .
154154
USE_SOURCE_PERMISSIONS
155155
)
156+
install(
157+
DIRECTORY ${CEF_TARGET_OUT_DIR}/
158+
DESTINATION .
159+
USE_SOURCE_PERMISSIONS
160+
)
156161
else()
157162
# Unlike in other OSes, CEF on macOS relies on several independent "helper"
158163
# app bundles to call up different sandboxed aspects of the CEF process.

0 commit comments

Comments
 (0)