Skip to content

Commit

Permalink
Updated webview tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Oct 13, 2023
1 parent 34b474a commit a78ca10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmake/dependencies/webview.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endif()

option(NUI_FETCH_WEBVIEW "Fetch webview" ON)
set(NUI_WEBVIEW_REPOSITORY "https://github.com/5cript/webview.git" CACHE STRING "Webview repository")
set(NUI_WEBVIEW_TAG "c3e57c164a0751e5adb2ea45e1b5c308c3dbe716" CACHE STRING "Webview tag")
set(NUI_WEBVIEW_TAG "749f9dfbe140f5fd0be1cd53abcec7f05496cbc3" CACHE STRING "Webview tag")

if (NUI_FETCH_WEBVIEW)
include(FetchContent)
Expand All @@ -21,8 +21,8 @@ if (NUI_FETCH_WEBVIEW)
add_library(webview INTERFACE)

add_custom_target(
webview-prep
COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/include"
webview-prep
COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/include"
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_BINARY_DIR}/_deps/webview_raw-src/webview.h" "${CMAKE_BINARY_DIR}/include/webview.h"
COMMAND_EXPAND_LISTS
)
Expand Down Expand Up @@ -73,8 +73,8 @@ if (NUI_FETCH_WEBVIEW)

target_include_directories(webview INTERFACE "${CMAKE_BINARY_DIR}/_deps/webview_binary-src/build/native/include")
target_link_directories(
webview
INTERFACE
webview
INTERFACE
"${CMAKE_BINARY_DIR}/_deps/webview_binary-src/build/native/${WEBVIEW_DLL_SUBDIRECTORY}"
"${CMAKE_BINARY_DIR}/lib"
)
Expand Down

0 comments on commit a78ca10

Please sign in to comment.