XNAP asn.1 cmake: ber_decoder.h is not created

XNAP is asn1c compiled with -no-gen-BER. Correspondingly, no
ber_decoder.h file is created. However, when running cmake followed by
ninja, it notices the absence of this file:

    ninja explain: output openair2/XNAP/MESSAGES/ber_decoder.h doesn't exist

which triggers a complete rebuild of XNAP ASN.1. Without this file, the
targets are not marked as dirty.
This commit is contained in:
Robert Schmidt
2025-09-29 09:04:02 +02:00
parent cede449907
commit cc094ac737
@@ -833,7 +833,6 @@ set(xnap_headers
asn_SEQUENCE_OF.h
asn_SET_OF.h
asn_system.h
ber_decoder.h
ber_tlv_length.h
ber_tlv_tag.h
BIT_STRING.h