Enforce minimum fmt version 6.1.0 to ensure float roundtrip
parent
7c38b34683
commit
aac69395bb
|
@ -4,3 +4,6 @@
|
|||
[submodule "content"]
|
||||
path = content
|
||||
url = https://github.com/CelestiaProject/CelestiaContent.git
|
||||
[submodule "thirdparty/fmt"]
|
||||
path = thirdparty/fmt
|
||||
url = https://github.com/fmtlib/fmt.git
|
||||
|
|
|
@ -210,7 +210,11 @@ find_package(Eigen3 3.3 REQUIRED NO_MODULE) # -DEigen3_DIR=...
|
|||
message(STATUS "Found Eigen3 ${EIGEN3_VERSION_STRING}")
|
||||
link_libraries(Eigen3::Eigen)
|
||||
|
||||
find_package(fmt REQUIRED)
|
||||
find_package(fmt 6.1.0 CONFIG QUIET)
|
||||
if(NOT fmt_FOUND)
|
||||
message(STATUS "Using fmt submodule")
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/fmt")
|
||||
endif()
|
||||
link_libraries(fmt::fmt)
|
||||
|
||||
find_package(PNG REQUIRED)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 4ca6821e8f26c96f815064f77dff0a74f562bffb
|
Loading…
Reference in New Issue