From ebf97ef6df34f8125693f29b430b15350e79473a Mon Sep 17 00:00:00 2001 From: "Paul P.H. Wilson" Date: Fri, 19 Jul 2024 10:21:35 -0500 Subject: [PATCH 1/2] add more info to Cmake error msg --- cmake/DAGMC_macros.cmake | 2 +- doc/CHANGELOG.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/DAGMC_macros.cmake b/cmake/DAGMC_macros.cmake index 9fd0893e5..5bfbd74a5 100644 --- a/cmake/DAGMC_macros.cmake +++ b/cmake/DAGMC_macros.cmake @@ -15,7 +15,7 @@ macro (dagmc_setup_build) if (NOT CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") - message(FATAL_ERROR "Specified CMAKE_BUILD_TYPE is invalid; valid options are Release, Debug, RelWithDebInfo") + message(FATAL_ERROR "Specified CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} is invalid; valid options are Release, Debug, RelWithDebInfo") endif () string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UPPER) message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") diff --git a/doc/CHANGELOG.rst b/doc/CHANGELOG.rst index dec48de59..08de5dd08 100644 --- a/doc/CHANGELOG.rst +++ b/doc/CHANGELOG.rst @@ -18,6 +18,7 @@ Next version * Inline documentation improvements (#945) * Streamline dependencies of docker CI images (#951 #952) * Update github actions to newer versions as necessary (#958) + * CMake error message upddate () v3.2.3 ==================== From 49364503219f665641bfac03ad5f93990f3c79af Mon Sep 17 00:00:00 2001 From: "Paul P.H. Wilson" Date: Fri, 19 Jul 2024 10:24:10 -0500 Subject: [PATCH 2/2] add PR # --- doc/CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/CHANGELOG.rst b/doc/CHANGELOG.rst index 08de5dd08..6e099a369 100644 --- a/doc/CHANGELOG.rst +++ b/doc/CHANGELOG.rst @@ -18,7 +18,7 @@ Next version * Inline documentation improvements (#945) * Streamline dependencies of docker CI images (#951 #952) * Update github actions to newer versions as necessary (#958) - * CMake error message upddate () + * CMake error message update (#960) v3.2.3 ====================