Skip to content

Commit

Permalink
🚨 Fix miniz build error
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Feb 5, 2025
1 parent 4d3ca3b commit 7a0e4f1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[submodule "Lab"]
path = Lab
url = https://github.com/CoolLibs/Lab.git
url = git@github.com:CoolLibs/Lab.git
[submodule "tooling"]
path = tooling
url = https://github.com/CoolLibs/tooling
[submodule "lib/spawn_process"]
path = lib/spawn_process
url = https://github.com/CoolLibs/spawn_process
[submodule "lib/miniz"]
path = lib/miniz
url = https://github.com/richgel999/miniz
11 changes: 3 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,9 @@ set(BUILD_STATIC_LIBS ON CACHE BOOL "" FORCE)
add_subdirectory(lib/spawn_process)
target_link_libraries(Coollab-Launcher-Properties INTERFACE Cool::spawn_process)

# MINIZ
FetchContent_Declare(
miniz
GIT_REPOSITORY https://github.com/richgel999/miniz.git
GIT_TAG 0c30a001bc3c70770a8742ff00899e662f040c75
SYSTEM
)
FetchContent_MakeAvailable(miniz)
# miniz
add_subdirectory(lib/miniz)
target_compile_definitions(miniz PUBLIC "MINIZ_NO_ZLIB_COMPATIBLE_NAMES")
target_link_libraries(Coollab-Launcher-Properties INTERFACE miniz)

# Grab all the source files
Expand Down
1 change: 1 addition & 0 deletions lib/miniz
Submodule miniz added at 0c30a0

0 comments on commit 7a0e4f1

Please sign in to comment.