build: use ARCH_INDEPENDENT if possible
authorAndrea Pappacoda <andrea@pappacoda.it>
Thu, 7 Apr 2022 11:27:01 +0000 (13:27 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Apr 2022 11:27:01 +0000 (13:27 +0200)
commitd9234dee3c8e9f5ee4c5ab4223f9d0e8b725fa6c
treeede6ba8e155006714fdae9594ad74a09b5ff9820
parent9c3fd01c8a91761b6e4be97ff4f13de76e779128
build: use ARCH_INDEPENDENT if possible

Since this is a header-only library, the CMake Version file should be marked architecture-independent with the ARCH_INDEPENDENT option. As the option has been added in CMake 3.14 and spriv-headers supports CMake 3.0 the option has to be passed only if supported.
CMakeLists.txt