Skip to content

Commit

Permalink
Merge pull request #960 from gonuke/biuld_type_err_msg
Browse files Browse the repository at this point in the history
add more info to Cmake error msg
  • Loading branch information
ahnaf-tahmid-chowdhury authored Sep 26, 2024
2 parents 98a3a10 + 4936450 commit 24e8124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/DAGMC_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
1 change: 1 addition & 0 deletions doc/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 update (#960)

v3.2.3
====================
Expand Down

0 comments on commit 24e8124

Please sign in to comment.