Disable CEF sandbox and force module libs to be dependent on CEF libs

This commit is contained in:
Gene Payne
2022-05-13 12:25:53 -06:00
parent 6af8c004e0
commit db2d2b85d0
3 changed files with 12 additions and 2 deletions
@@ -66,8 +66,11 @@ list(APPEND CEF_COMPILER_DEFINES
# Configure use of the sandbox.
option(USE_SANDBOX "Enable or disable use of the sandbox." ON)
if (OS_LINUX)
option(USE_SANDBOX "Enable or disable use of the sandbox." OFF)
else()
option(USE_SANDBOX "Enable or disable use of the sandbox." ON)
endif()
#
# Linux configuration.
@@ -158,3 +158,9 @@ function(run_cef_linux_config CEF_TARGET CEF_ROOT)
# Add the custom manifest files to the executable.
set_openspace_cef_target_out_dir()
endfunction ()
function(set_modules_dependency_on_cef_libraries LIB_DEPENDENT)
target_link_libraries(${LIB_DEPENDENT} INTERFACE libcef_lib)
target_link_libraries(${LIB_DEPENDENT} INTERFACE libcef_dll_wrapper)
endfunction ()