Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove DEPENDS from add_custom_command as CMake made the behavior cle…
…ar (aws#2178) ### Description of changes: Instead of silently ignoring the parameter CMake now prints a warning and lets the command continue to work: ``` CMake Warning (dev) at crypto/CMakeLists.txt:654 (add_custom_command): The following keywords are not supported when using add_custom_command(TARGET): DEPENDS. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. ``` https://cmake.org/cmake/help/latest/policy/CMP0175.html ### Testing: Built locally after deleting the option and didn't see the error message. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information