You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I noticed that building a code that uses openPMD on my laptop now generates some cmake warnings.
[cmake] CMake Deprecation Warning at build/_deps/openpmd-src/share/openPMD/thirdParty/json/CMakeLists.txt:1 (cmake_minimum_required):
[cmake] Compatibility with CMake < 3.5 will be removed from a future version of
[cmake] CMake.
[cmake]
[cmake] Update the VERSION argument <min> value or use a ...<max> suffix to tell
[cmake] CMake that the project does not need compatibility with older versions.
[cmake]
[cmake]
[cmake] -- Using the single-header code from /Users/davide/Desktop/Workspace/Codes/RadiationSafety/build/_deps/openpmd-src/share/openPMD/thirdParty/json/single_include/
[cmake] -- nlohmann-json: Using INTERNAL version '3.9.1'
[cmake] CMake Deprecation Warning at build/_deps/openpmd-src/share/openPMD/thirdParty/toml11/CMakeLists.txt:1 (cmake_minimum_required):
[cmake] Compatibility with CMake < 3.5 will be removed from a future version of
[cmake] CMake.
[cmake]
[cmake] Update the VERSION argument <min> value or use a ...<max> suffix to tell
[cmake] CMake that the project does not need compatibility with older versions.
[cmake]
[cmake]
[cmake] -- toml11: Using INTERNAL version '3.7.1'
[cmake] CMake Deprecation Warning at build/_deps/openpmd-src/share/openPMD/cmake/FindADIOS.cmake:91 (cmake_minimum_required):
[cmake] Compatibility with CMake < 3.5 will be removed from a future version of
[cmake] CMake.
[cmake]
[cmake] Update the VERSION argument <min> value or use a ...<max> suffix to tell
[cmake] CMake that the project does not need compatibility with older versions.
[cmake] Call Stack (most recent call first):
[cmake] build/_deps/openpmd-src/CMakeLists.txt:378 (find_package)
To me they look like problems with the openPMD dependencies.
I only see this on my personal laptop (MacOS with cmake 3.27.1) and not on NERSC Perlmutter with cmake 3.22.0.
Performed steps
The way I link openPMD to my project is using FetchContent, following the documentation
I was wondering if you're aware of some flags/policies I could set to avoid the warning or if it's something that needs to be changed in the openPMD dependecies.
System environment
operating system: MacOS 14.1
machine: Apple MacBook Air M1
The text was updated successfully, but these errors were encountered:
Hi everyone,
I noticed that building a code that uses openPMD on my laptop now generates some cmake warnings.
To me they look like problems with the openPMD dependencies.
I only see this on my personal laptop (MacOS with cmake
3.27.1
) and not on NERSC Perlmutter with cmake3.22.0
.Performed steps
The way I link openPMD to my project is using
FetchContent
, following the documentationI was wondering if you're aware of some flags/policies I could set to avoid the warning or if it's something that needs to be changed in the openPMD dependecies.
System environment
The text was updated successfully, but these errors were encountered: