Skip to content

Commit

Permalink
Use a static library for spng now.
Browse files Browse the repository at this point in the history
  • Loading branch information
cullvox committed Jun 20, 2024
1 parent 4296f49 commit e80656b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ target_link_libraries(Bluemetal PUBLIC
SDL2::SDL2
fmt::fmt
FMOD
spng)
spng_static)

target_precompile_headers(Bluemetal PUBLIC "Precompiled.h")
2 changes: 2 additions & 0 deletions ThirdParty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(ZLIB_USE_STATIC_LIBS ON)
set(ZLIB_INSTALL ON)

set(SPNG_SHARED OFF)

CPMAddPackage("gh:p-ranav/argparse@3.0")
CPMAddPackage("gh:g-truc/glm#1.0.1")
CPMAddPackage("gh:libsdl-org/sdl#release-2.30.4")
Expand Down

0 comments on commit e80656b

Please sign in to comment.