From 4ff3214dcd31000742b1b30d081ef4c822c97095 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 5 Feb 2016 17:41:15 +0200 Subject: [PATCH] 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 --- src/script/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/CMakeLists.txt b/src/script/CMakeLists.txt index 264df954b..dcfe34cbd 100644 --- a/src/script/CMakeLists.txt +++ b/src/script/CMakeLists.txt @@ -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 -- 2.11.0