From 3d92e2eefb72f8716a853e1ef9f8352a87594187 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Sun, 9 Jun 2024 17:45:02 +0200 Subject: [PATCH] add CPU info to the configure process. --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d38482ae..7485b056 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -249,6 +249,8 @@ set(CMAKE_INSTALL_RPATH "${rpath}") add_subdirectory(src) #--- write summary of the installation +cmake_host_system_information(RESULT PROCESSOR QUERY PROCESSOR_DESCRIPTION) + message("") message("|-----------------------------------------------------------------------|") message("| |") @@ -256,8 +258,9 @@ message("| Summary message("| |") message("|-----------------------------------------------------------------------|") message("") -message(" System: ${CMAKE_HOST_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR} - ${CMAKE_HOST_SYSTEM_VERSION}") -message(" -------") +message(" System: ${CMAKE_HOST_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR} - ${CMAKE_HOST_SYSTEM_VERSION}") +message(" Processor: ${PROCESSOR} (${CMAKE_SYSTEM_PROCESSOR})") +message(" ----------") message("") message(" musrfit Version: ${musrfit_VERSION}") message(" ----------------")