This PR:
- Emulates
PROJECT_IS_TOP_LEVELvariable for CMake versions where it is not available. - Makes the
SECP256K1_INSTALLoption dependent onPROJECT_IS_TOP_LEVEL(a follow up of #1263). - Makes integration of this project as a subtree easier. A top project can
#include <secp256k1.h>with no additionaltarget_include_directories()commands. For example, see https://github.com/hebasto/secp256k1-CMake-example/tree/subtree.