Skip to content

Commit

Permalink
Build: FetchContent newest fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sppmacd committed Apr 2, 2024
1 parent 039983c commit 6e53cce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ if(MIDIPLAYER_PORTABLE_INSTALL)
set(CMAKE_INSTALL_PREFIX root)
endif()

find_package(fmt 8.0.0 REQUIRED)
include(FetchContent)
FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 10.2.1
)
FetchContent_MakeAvailable(fmt)

find_package(SFML 2.5.1 COMPONENTS graphics audio REQUIRED)

add_executable(midiplayer
Expand Down

0 comments on commit 6e53cce

Please sign in to comment.