Skip to content

Commit 6371cd4

Browse files
authored
Merge pull request #14 from maxDcb/codex/fix-cmakelists-to-fetch-coffpacker-dependency
Fetch Coff dependencies for Windows builds
2 parents 5b72583 + e02d642 commit 6371cd4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ FetchContent_Declare(
5858
)
5959
FetchContent_MakeAvailable(SocksServer)
6060

61+
if(WIN32)
62+
FetchContent_Declare(
63+
CoffPacker
64+
GIT_REPOSITORY https://github.com/maxDcb/COFFPacker.git
65+
GIT_TAG master
66+
)
67+
FetchContent_Declare(
68+
CoffLoader
69+
GIT_REPOSITORY https://github.com/maxDcb/COFFLoader.git
70+
GIT_TAG main
71+
)
72+
FetchContent_MakeAvailable(CoffPacker CoffLoader)
73+
endif()
74+
6175
# Header-only / source dependencies placed in thirdParty for relative includes
6276
set(BASE64_SRC_DIR ${CMAKE_SOURCE_DIR}/thirdParty/base64)
6377
FetchContent_Declare(

0 commit comments

Comments
 (0)