mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Merge branch 'stable' of github.com:jedisct1/libsodium into stable
* 'stable' of github.com:jedisct1/libsodium: build: do not define the sodium target when not found by CMake (#1287)
This commit is contained in:
commit
f58e91061e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user