mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-26 14:08:53 -05:00
Disable CEF sandbox and force module libs to be dependent on CEF libs
This commit is contained in:
@@ -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 ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user