Skip to content

Commit 4b959fe

Browse files
committedFeb 14, 2025
feat: support CEFVIEW_CORE_VERSION
1 parent c608bc3 commit 4b959fe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎thirdparty/CMakeLists.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
include(FetchContent)
22

3+
if(NOT CEFVIEW_CORE_VERSION)
4+
set(DEFAULT_CEFVIEW_CORE_VERSION "bb1cbae4bce755e88bb89fea3c5ab31e47b44b65")
5+
set(CEFVIEW_CORE_VERSION ${DEFAULT_CEFVIEW_CORE_VERSION})
6+
message(STATUS "CEFVIEW_CORE_VERSION not set, use default value:${CEFVIEW_CORE_VERSION}")
7+
endif()
8+
39
# fetch CefViewCore project
410
FetchContent_Declare(
511
CefViewCore
612
GIT_REPOSITORY https://github.com/CefView/CefViewCore.git
7-
GIT_TAG bb1cbae4bce755e88bb89fea3c5ab31e47b44b65
13+
GIT_TAG ${CEFVIEW_CORE_VERSION}
814
)
915

1016
# set CEF version to be used

0 commit comments

Comments
 (0)