Skip to content

Commit e2457f9

Browse files
committed
[PR 128] CMake: Fix error locating GSL when building without Hunter
Error was: | CMake Error at cmake/dependencies.cmake:22 (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
1 parent 7774606 commit e2457f9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmake/dependencies.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ find_package(Boost CONFIG REQUIRED date_time filesystem random system)
1212

1313
# https://docs.hunter.sh/en/latest/packages/pkg/Microsoft.GSL.html
1414
hunter_add_package(Microsoft.GSL)
15-
find_package(Microsoft.GSL CONFIG REQUIRED)
1615

1716
# https://www.openssl.org/
1817
hunter_add_package(OpenSSL)

0 commit comments

Comments
 (0)