Skip to content

Commit

Permalink
feat: move libcef.lib and cef_sandbox.lib to library output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Jan 19, 2025
1 parent 935b79c commit 1f96023
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ install(
install(
DIRECTORY "${CEF_SDK_DIR}/include"
DESTINATION "include/cef"
)
)
10 changes: 10 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,16 @@ if(OS_WINDOWS)
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${CEF_BINARY_DIR}"
"$<TARGET_FILE_DIR:${CEFVIEW_WING_NAME}>"

# move libcef.lib to lib output
COMMAND ${CMAKE_COMMAND} -E rename
"$<TARGET_FILE_DIR:${CEFVIEW_WING_NAME}>/libcef.lib"
"$<TARGET_LINKER_FILE_DIR:libcef_dll_wrapper>/libcef.lib"

# move cef_sandbox.lib to lib output
COMMAND ${CMAKE_COMMAND} -E rename
"$<TARGET_FILE_DIR:${CEFVIEW_WING_NAME}>/cef_sandbox.lib"
"$<TARGET_LINKER_FILE_DIR:libcef_dll_wrapper>/cef_sandbox.lib"
)
endif() # OS_WINDOWS

Expand Down

0 comments on commit 1f96023

Please sign in to comment.