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
Use the CMakeToolchain / CMakeDeps generator for a project and add ms-gsl as a requires.
In your CMakeLists.txt use find_package(Microsoft.GSL REQUIRED) and it will not be found during CMake's configure stage.
This is because the package is now named ms-gsl instead, which is unexpected.
Logs (Include/Attach if Applicable)
Click to expand log
-- Conan: Target declared 'fmt::fmt'
CMake Error at Module/Components/Platform/CMakeLists.txt:8 (find_package):
By not providing "FindMicrosoft.GSL.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Microsoft.GSL", but CMake did not find one.
Could not find a package configuration file provided by "Microsoft.GSL"
with any of the following names:
Microsoft.GSLConfig.cmake
microsoft.gsl-config.cmake
Add the installation prefix of "Microsoft.GSL" to CMAKE_PREFIX_PATH or set
"Microsoft.GSL_DIR" to a directory containing one of the above files. If
"Microsoft.GSL" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered:
…e for CMakeDeps generator
* (#7887) [ms-gsl] fix CMake module file name for CMakeDeps generator
* Use only the cpp_info properties
* Revert "Use only the cpp_info properties"
This reverts commit 8186d8f.
* Simplify package_info method
…rget name for CMakeDeps generator
* (conan-io#7887) [ms-gsl] fix CMake module file name for CMakeDeps generator
* Use only the cpp_info properties
* Revert "Use only the cpp_info properties"
This reverts commit 8186d8f.
* Simplify package_info method
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
Use the
CMakeToolchain
/CMakeDeps
generator for a project and addms-gsl
as arequires
.In your
CMakeLists.txt
usefind_package(Microsoft.GSL REQUIRED)
and it will not be found during CMake's configure stage.This is because the package is now named
ms-gsl
instead, which is unexpected.Logs (Include/Attach if Applicable)
Click to expand log
The text was updated successfully, but these errors were encountered: