Skip to content

Commit f344268

Browse files
authored
Avoid using an undefined cmake macro/function "build_error" (#1036)
1 parent 0c1deb7 commit f344268

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
## DART 6
22

3-
### DART 6.3.1 (2018-03-14)
3+
### DART 6.3.1 (2018-03-21)
4+
5+
* Build system
6+
7+
* Remove an undefined cmake macro/function: [#1036](https://github.com/dartsim/dart/pull/1036)
48

59
* ROS support
610

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ elseif("${CMAKE_BUILD_TYPE_UPPERCASE}" STREQUAL "RELWITHDEBINFO")
127127
elseif("${CMAKE_BUILD_TYPE_UPPERCASE}" STREQUAL "MINSIZEREL")
128128
set(BUILD_TYPE_MINSIZEREL TRUE)
129129
else()
130-
build_error("CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} unknown. Valid options are: Debug | Release | RelWithDebInfo | MinSizeRel")
130+
message(STATUS "CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} unknown. Valid options are: Debug | Release | RelWithDebInfo | MinSizeRel")
131131
endif()
132132

133133
#===============================================================================

0 commit comments

Comments
 (0)