Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: install cmake config module in arch-indep location
toml11 is an header-only library, and the exported cmake target for it only points to the headers; because of this, it seems a good idea to install the cmake config module in an architecture-independent location for cmake, rather than under a library (architecture-dependent) location. Doing so is easy: - tweak TOML11_INSTALL_CMAKE_DIR to point to a cmake subdirectory of the shared dataroot location (typically $prefix/share) - pass ARCH_INDEPENDENT argument to write_basic_package_version_file(): this is because the cmake config module generated by default contains the architecture bits check (32bit vs 64bit vs ...); since it does not matter in this case, make the config module arch-independent
- Loading branch information