When integrating libsecpk1 in a downstream project like this:
0set(SECP256K1_ASM arm32 CACHE STRING "" FORCE)
1add_subdirectory(src/secp256k1)
it fails to configure:
0CMake Error at /home/hebasto/git/bitcoin/build/check_arm32_assembly/CMakeFiles/CMakeTmp/CMakeLists.txt:21 (target_sources):
1 Cannot find source file:
2
3 /home/hebasto/git/bitcoin/cmake/source_arm32.s
4
5
6CMake Error at /home/hebasto/git/bitcoin/build/check_arm32_assembly/CMakeFiles/CMakeTmp/CMakeLists.txt:20 (add_executable):
7 No SOURCES given to target: cmTC_d0f0b
8
9
10CMake Error at src/secp256k1/cmake/CheckArm32Assembly.cmake:2 (try_compile):
11 Failed to generate test project build system.
12Call Stack (most recent call first):
13 src/secp256k1/CMakeLists.txt:127 (check_arm32_assembly)
This PR fixes this issue, which was overlooked in #1304.