Skip to content

Commit

Permalink
Merge branch 'stable' of github.com:jedisct1/libsodium into stable
Browse files Browse the repository at this point in the history
* 'stable' of github.com:jedisct1/libsodium:
  build: do not define the sodium target when not found by CMake (#1287)
  • Loading branch information
jedisct1 committed Jun 16, 2023
2 parents e4fd497 + a134897 commit f58e910
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/Findsodium.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ find_package_handle_standard_args(sodium
VERSION_VAR
sodium_VERSION_STRING)

if (NOT sodium_FOUND)
return()
endif()

# mark file paths as advanced
mark_as_advanced(sodium_INCLUDE_DIR)
mark_as_advanced(sodium_LIBRARY_DEBUG)
Expand Down

0 comments on commit f58e910

Please sign in to comment.