mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user