Fixed ReleaseWithDebugInfo build.

This commit is contained in:
bubnikv 2017-08-30 14:55:45 +02:00
parent 38e35cefc7
commit dcbc28fd49
2 changed files with 32 additions and 4 deletions

View file

@ -102,7 +102,7 @@ if(NOT TBB_FOUND)
##################################
if(NOT DEFINED TBB_USE_DEBUG_BUILD)
if(CMAKE_BUILD_TYPE MATCHES "(Debug|DEBUG|debug|RelWithDebInfo|RELWITHDEBINFO|relwithdebinfo)")
if(CMAKE_BUILD_TYPE MATCHES "(Debug|DEBUG|debug)")
set(TBB_BUILD_TYPE DEBUG)
else()
set(TBB_BUILD_TYPE RELEASE)