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.