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
In https://github.com/GMLC-TDC/HELICS/blob/develop/config/cmake/addBoost.cmake, the two hard-coded lists of Boost versions can be replaced with file(GLOB ...) to find folders matching the folder naming patterns. The version number can then be extracted from the matching folder names, and filtered using functionality CMake provides for comparing version strings to ensure a minimum Boost version is found.
For the MSVC library subfolder name, the MSVC_TOOLSET_VERSION CMake variable can be used by inserting a . before the last digit, to construct a folder name that doesn't require checking against the MSVC compiler version (e.g. CMake developers have already done the work to maintain a mapping between compiler versions and toolset versions).
The text was updated successfully, but these errors were encountered:
In https://github.com/GMLC-TDC/HELICS/blob/develop/config/cmake/addBoost.cmake, the two hard-coded lists of Boost versions can be replaced with
file(GLOB ...)
to find folders matching the folder naming patterns. The version number can then be extracted from the matching folder names, and filtered using functionality CMake provides for comparing version strings to ensure a minimum Boost version is found.For the MSVC library subfolder name, the
MSVC_TOOLSET_VERSION
CMake variable can be used by inserting a.
before the last digit, to construct a folder name that doesn't require checking against the MSVC compiler version (e.g. CMake developers have already done the work to maintain a mapping between compiler versions and toolset versions).The text was updated successfully, but these errors were encountered: