fix conditional for TCMalloc

it seems that running CMake from Git Bash shell makes CMake think that it
is running on UNIX system

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-02-05 17:41:15 +02:00
parent ea82662eb8
commit 4ff3214dcd

View file

@ -196,7 +196,7 @@ set(SCRIPT_SOURCES
${CMAKE_SOURCE_DIR}/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_xclass.cpp
)
if(NOT UNIX OR NOT ${KATIE_PLATFORM} STREQUAL "mac")
if(NOT ${KATIE_PLATFORM} MATCHES "(win32|wince|mac)")
set(SCRIPT_SOURCES
${SCRIPT_SOURCES}
${CMAKE_SOURCE_DIR}/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp