File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 uses : actions/cache@v4
6464 with :
6565 path : os/android/app/.cxx
66- key : android-cmake-v1
66+ key : android-cmake-v2
6767
6868 - name : Setup signing config
6969 if : env.KEYSTORE_FILE_BASE64 != '' && env.KEYSTORE_PROPERTIES_FILE_BASE64 != ''
@@ -104,7 +104,7 @@ jobs:
104104 uses : actions/cache@v4
105105 with :
106106 path : build
107- key : ios-cmake-v3
107+ key : ios-cmake-v4
108108
109109 - name : Configure
110110 run : |
@@ -174,7 +174,7 @@ jobs:
174174 uses : actions/cache@v4
175175 with :
176176 path : build
177- key : linux-${{ matrix.arch }}-cmake-v1
177+ key : linux-${{ matrix.arch }}-cmake-v3
178178
179179 - name : Configure (x86)
180180 if : matrix.arch == 'x86'
@@ -224,7 +224,7 @@ jobs:
224224 uses : actions/cache@v4
225225 with :
226226 path : build
227- key : macos-cmake-v5
227+ key : macos-cmake-v6
228228
229229 - name : Configure
230230 run : |
@@ -279,7 +279,7 @@ jobs:
279279 uses : actions/cache@v4
280280 with :
281281 path : build
282- key : windows-${{ matrix.arch }}-cmake-v1
282+ key : windows-${{ matrix.arch }}-cmake-v2
283283
284284 - name : Configure
285285 run : |
Original file line number Diff line number Diff line change @@ -366,8 +366,7 @@ if(APPLE)
366366endif ()
367367
368368add_subdirectory ("third_party/fpattern" )
369- target_link_libraries (${EXECUTABLE_NAME} ${FPATTERN_LIBRARY} )
370- target_include_directories (${EXECUTABLE_NAME} PRIVATE ${FPATTERN_INCLUDE_DIR} )
369+ target_link_libraries (${EXECUTABLE_NAME} fpattern::fpattern )
371370
372371if ((NOT ${CMAKE_SYSTEM_NAME } MATCHES "Linux" ) AND (NOT ${CMAKE_SYSTEM_NAME } MATCHES "FreeBSD" ) AND (NOT ${CMAKE_SYSTEM_NAME } MATCHES "OpenBSD" ))
373372 add_subdirectory ("third_party/zlib" )
Original file line number Diff line number Diff line change 77
88#include < algorithm>
99
10- #include < fpattern.h>
10+ #include < fpattern/fpattern .h>
1111
1212#include " platform_compat.h"
1313
Original file line number Diff line number Diff line change 33#include < stddef.h>
44#include < string.h>
55
6- #include < fpattern.h>
6+ #include < fpattern/fpattern .h>
77
88namespace fallout {
99
Original file line number Diff line number Diff line change 11include (FetchContent )
22
33FetchContent_Declare (fpattern
4- GIT_REPOSITORY "https://github.com/Loadmaster/fpattern"
5- GIT_TAG "v1.9"
4+ GIT_REPOSITORY "https://github.com/alexbatalov/fpattern"
5+ GIT_TAG 8523173ec252c3b796fcdfca0fcc6329642fbbe3 # v1.9
6+ GIT_SHALLOW TRUE
7+ GIT_PROGRESS TRUE
68)
79
8- FetchContent_GetProperties (fpattern)
9- if (NOT fpattern_POPULATED)
10- FetchContent_Populate (fpattern)
11- endif ()
12-
13- if (MSVC )
14- set (CMAKE_DEBUG_POSTFIX "d" )
15- endif ()
16-
17- add_library (fpattern STATIC
18- "${fpattern_SOURCE_DIR } /debug.h"
19- "${fpattern_SOURCE_DIR } /fpattern.c"
20- "${fpattern_SOURCE_DIR } /fpattern.h"
21- )
22-
23- if (NOT WIN32 )
24- target_compile_definitions (fpattern PRIVATE
25- "-Dunix"
26- )
27- endif ()
28-
29- set (FPATTERN_LIBRARY "fpattern" PARENT_SCOPE )
30- set (FPATTERN_INCLUDE_DIR "${fpattern_SOURCE_DIR } " PARENT_SCOPE )
10+ FetchContent_MakeAvailable (fpattern)
You can’t perform that action at this time.
0 commit comments