From 5468eb659c8b4ecdb3d08e8b8f0442c5a2549a48 Mon Sep 17 00:00:00 2001 From: Gabriel Arjones Date: Thu, 14 Apr 2022 17:55:27 -0300 Subject: [PATCH] cmake: write an arch independent version file (#534) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ffc37b3..b9b33a5d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,7 @@ if(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME}) write_basic_package_version_file( "${PROJECT_NAME}ConfigVersion.cmake" COMPATIBILITY SameMajorVersion + ARCH_INDEPENDENT ) endif() configure_package_config_file(