mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-09-01 07:58:12 +02:00
move vendor/secp256k1-0.3.0 to vendor/secp256k1/repo
This commit is contained in:
parent
e8ee3fc0de
commit
9587586968
132 changed files with 0 additions and 0 deletions
12
vendor/secp256k1/repo/cmake/CheckStringOptionValue.cmake
vendored
Normal file
12
vendor/secp256k1/repo/cmake/CheckStringOptionValue.cmake
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function(check_string_option_value option)
|
||||
get_property(expected_values CACHE ${option} PROPERTY STRINGS)
|
||||
if(expected_values)
|
||||
foreach(value IN LISTS expected_values)
|
||||
if(value STREQUAL "${${option}}")
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
message(FATAL_ERROR "${option} value is \"${${option}}\", but must be one of ${expected_values}.")
|
||||
endif()
|
||||
message(AUTHOR_WARNING "The STRINGS property must be set before invoking `check_string_option_value' function.")
|
||||
endfunction()
|
||||
Loading…
Add table
Add a link
Reference in a new issue