From f3442685a43657702e1b38a24bbb7adee280fe96 Mon Sep 17 00:00:00 2001 From: "Michael X. Grey" Date: Wed, 21 Mar 2018 14:11:30 -0700 Subject: [PATCH] Avoid using an undefined cmake macro/function "build_error" (#1036) --- CHANGELOG.md | 6 +++++- CMakeLists.txt | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f93d5f6e50b67..970bff4fc7e2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 75ac1e97ecdf9..d17a60ba679ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() #===============================================================================