Skip to content

Commit

Permalink
Fix fetch of fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kordejong committed Nov 17, 2023
1 parent 0f1e84f commit d0c4499
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion environment/cmake/LueConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -578,13 +578,15 @@ if(LUE_GRAPHVIZ_REQUIRED)
endif()

if(LUE_FMT_REQUIRED)
# In fmt, install rules are disabled if it's a subproject
set(FMT_INSTALL ON)
FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG a33701196adfad74917046096bf5a2aa0ab0bb50 # 9.1.0
SYSTEM
FIND_PACKAGE_ARGS
)
find_package(fmt REQUIRED)
FetchContent_MakeAvailable(fmt)
endif()


Expand Down

0 comments on commit d0c4499

Please sign in to comment.