Skip to content

Commit

Permalink
add more info to Cmake error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke committed Jul 19, 2024
1 parent 7e1cdb6 commit 8df1609
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 @@ -17,6 +17,7 @@ Next version
* Allow Double Down v1.1.0 Installation in Dockerfile (#929 #944 #949)
* Inline documentation improvements (#945)
* Streamline dependencies of docker CI images (#951 #952)
* CMake error message upddate ()

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

0 comments on commit 8df1609

Please sign in to comment.