Skip to content

Commit

Permalink
Fix: ksba (#1388)
Browse files Browse the repository at this point in the history
Fixes build fails when ksba is only findable via find_library and not pkgconfig.
  • Loading branch information
tuxmaster5000 committed Apr 19, 2023
1 parent 7ad881e commit 28944f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nasl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pkg_check_modules (LIBSSH REQUIRED libssh>=0.6.0)

set (KSBA_MIN_VERSION "1.0.7")
# try with package config
pkg_check_modules (KSBA REQUIRED ksba>=1.0.7)
pkg_check_modules (KSBA ksba>=1.0.7)
if (NOT KSBA_FOUND)
# try with find library
find_library (KSBA ksba)
Expand Down

0 comments on commit 28944f2

Please sign in to comment.