Skip to content

Commit cce60b8

Browse files
committed
feat: do not copy cef_sandbox.lib if sandbox is disabled
1 parent 07b1c11 commit cce60b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ if(OS_WINDOWS)
266266
"$<TARGET_LINKER_FILE_DIR:libcef_dll_wrapper>/libcef.lib"
267267
)
268268
269-
if(CEF_VERSION_MAJOR LESS 138)
269+
if(USE_SANDBOX AND CEF_VERSION_MAJOR LESS 138)
270270
add_custom_command(
271271
TARGET ${CEFVIEW_WING_NAME}
272272
POST_BUILD

0 commit comments

Comments
 (0)