Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ARCH_INDEPENDENT flag in CMakeLists.txt
If this package is flagged as ARCH_IDENPENDENT by cmake it is possible to consume the generated cmake files for compiling both 32bit and 64bit projects. Otherwise cmake will complain: CMake Error at CMakeLists.txt:12 (find_package): Could not find a configuration file for package "cereal" that is compatible with requested version "". The following configuration files were considered but not accepted: cmake/cereal/cerealConfig.cmake, version: 1.3.2 (64bit) Ive also added a version check to retain the compability with cmake older than 3.14. For more info about this flag look here: https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html
- Loading branch information