Skip to content

Commit

Permalink
Avoid using an undefined cmake macro/function "build_error" (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxgrey authored Mar 21, 2018
1 parent 0c1deb7 commit f344268
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## DART 6

### DART 6.3.1 (2018-03-14)
### DART 6.3.1 (2018-03-21)

* Build system

* Remove an undefined cmake macro/function: [#1036](https://github.com/dartsim/dart/pull/1036)

* ROS support

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ elseif("${CMAKE_BUILD_TYPE_UPPERCASE}" STREQUAL "RELWITHDEBINFO")
elseif("${CMAKE_BUILD_TYPE_UPPERCASE}" STREQUAL "MINSIZEREL")
set(BUILD_TYPE_MINSIZEREL TRUE)
else()
build_error("CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} unknown. Valid options are: Debug | Release | RelWithDebInfo | MinSizeRel")
message(STATUS "CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} unknown. Valid options are: Debug | Release | RelWithDebInfo | MinSizeRel")
endif()

#===============================================================================
Expand Down

0 comments on commit f344268

Please sign in to comment.