mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-05 20:30:03 +02:00
Include fmt a CMake dependency
This commit is contained in:
parent
a8a4cc641e
commit
266ace44a2
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
set(JUNGFRAU_EXECUTABLES)
|
set(JUNGFRAU_EXECUTABLES)
|
||||||
|
|
||||||
find_package(fmt REQUIRED)
|
#find_package(fmt REQUIRED)
|
||||||
|
|
||||||
#nlohmann_json
|
#nlohmann_json
|
||||||
#If the library was INSTALLED (i.e. sudo dnf install nlohmann-json3-dev), do stuff described in the repo under CMake -> External
|
#If the library was INSTALLED (i.e. sudo dnf install nlohmann-json3-dev), do stuff described in the repo under CMake -> External
|
||||||
@ -32,6 +32,13 @@ FetchContent_Declare(
|
|||||||
#FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz) #Alternative (from the repo documentation)
|
#FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz) #Alternative (from the repo documentation)
|
||||||
FetchContent_MakeAvailable(json)
|
FetchContent_MakeAvailable(json)
|
||||||
|
|
||||||
|
FetchContent_Declare(
|
||||||
|
fmt
|
||||||
|
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
|
||||||
|
GIT_TAG master
|
||||||
|
)
|
||||||
|
FetchContent_MakeAvailable(fmt)
|
||||||
|
|
||||||
# HDF5 file writing
|
# HDF5 file writing
|
||||||
if (SLS_USE_HDF5)
|
if (SLS_USE_HDF5)
|
||||||
find_package(HDF5 1.10 COMPONENTS CXX REQUIRED)
|
find_package(HDF5 1.10 COMPONENTS CXX REQUIRED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user