From Alan Dickinson,"I tested out my changes against the trunk and everything worked fine... except I noticed that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined or blank BUILD_TYPE.

So here is the one line change to the CMakeLists.txt to rectify this omission."
This commit is contained in:
Robert Osfield 2011-03-16 13:41:39 +00:00
parent 256da4879e
commit db4b31f804

View File

@ -558,7 +558,7 @@ ELSEIF(CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo")
ELSEIF(CMAKE_BUILD_TYPE MATCHES "Debug") ELSEIF(CMAKE_BUILD_TYPE MATCHES "Debug")
SET(CMAKE_BUILD_POSTFIX "${CMAKE_DEBUG_POSTFIX}") SET(CMAKE_BUILD_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
ELSE() ELSE()
SET(CMAKE_BUILD_POSTFIX "---") SET(CMAKE_BUILD_POSTFIX "")
ENDIF() ENDIF()
IF(UNIX AND NOT WIN32) IF(UNIX AND NOT WIN32)