File tree 5 files changed +20
-29
lines changed
5 files changed +20
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
vcpkg_from_github(
2
2
OUT_SOURCE_PATH SOURCE_PATH
3
3
REPO ladislav-zezula/CascLib
4
- REF 07bfe85fd0804cba49f072819af716274d82b855
5
- SHA512 b333fe6318aa95629aa67613287ac71b1931c6443985e7e52412066d769f7996bffca1c19e890851eba976f572c7a11f14a8ff5fb95433577e1c9af8de0f34af
4
+ REF 1623348517352ff0d6364d47533c0d7f118b46e1
5
+ SHA512 1b6dd77a399ff21a278d1ac68efa1417f2a9472b241401d3f6cb8f01ea702b32b4296012bb71ae62a932f9b0fa2b6d3035befe6f3ba0d567e85ac747c503b07c
6
6
HEAD_REF master
7
- PATCHES
8
- fix-shared-windows-builds.patch
9
7
)
10
8
11
9
string (COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE} " "dynamic" CASC_BUILD_SHARED_LIB)
12
10
string (COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE} " "static" CASC_BUILD_STATIC_LIB)
13
11
12
+ set (CASC_UNICODE OFF )
13
+
14
+ if (VCPKG_TARGET_IS_WINDOWS)
15
+ message (STATUS "This version of CascLib is built in ASCII mode. To switch to UNICODE version, create an overlay port of this with CASC_UNICODE set to ON." )
16
+ message (STATUS "This recipe is at ${CMAKE_CURRENT_LIST_DIR} " )
17
+ message (STATUS "See the overlay ports documentation at https://github.com/microsoft/vcpkg/blob/master/docs/specifications/ports-overlay.md" )
18
+ endif ()
19
+
14
20
vcpkg_cmake_configure(
15
21
SOURCE_PATH "${SOURCE_PATH} "
16
22
OPTIONS
23
+ -DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON
17
24
-DCASC_BUILD_SHARED_LIB=${CASC_BUILD_SHARED_LIB}
18
25
-DCASC_BUILD_STATIC_LIB=${CASC_BUILD_STATIC_LIB}
19
- -DCASC_UNICODE=ON
26
+ -DCASC_UNICODE=${CASC_UNICODE}
20
27
)
21
28
22
29
vcpkg_cmake_install()
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " casclib" ,
3
- "version-date" : " 2021-11-16" ,
4
- "port-version" : 1 ,
3
+ "version-date" : " 2024-06-05" ,
5
4
"description" : " An open-source implementation of library for reading CASC storage from Blizzard games since 2014" ,
6
5
"homepage" : " http://www.zezula.net/en/casc/casclib.html" ,
7
6
"dependencies" : [
Original file line number Diff line number Diff line change 1497
1497
"port-version" : 5
1498
1498
},
1499
1499
"casclib" : {
1500
- "baseline" : " 2021-11-16 " ,
1501
- "port-version" : 1
1500
+ "baseline" : " 2024-06-05 " ,
1501
+ "port-version" : 0
1502
1502
},
1503
1503
"catch" : {
1504
1504
"baseline" : " alias" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"versions" : [
3
+ {
4
+ "git-tree" : " a60d5ee653ba75af85f76d88f2540c61bfc7741e" ,
5
+ "version-date" : " 2024-06-05" ,
6
+ "port-version" : 0
7
+ },
3
8
{
4
9
"git-tree" : " 3bb7640c26eb7b742883277db2325a69c6c790aa" ,
5
10
"version-date" : " 2021-11-16" ,
You can’t perform that action at this time.
0 commit comments