From 3b81567acf4eccb7f466a8268aae8d4585e7f23f Mon Sep 17 00:00:00 2001 From: click Date: Mon, 21 Jun 2010 12:43:39 +0200 Subject: Set CMake to compile jemalloc only on linux, and also set ace/bzip2/zlib to only be compiled on "true" Windows-platforms --HG-- branch : trunk --- externals/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 98381bbafdc..e39a61a1c14 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -8,11 +8,11 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -if(NOT MACOSX) +if(CMAKE_SYSTEM_NAME MATCHES "Linux") add_subdirectory(jemalloc) endif() -if(NOT UNIX) +if(CMAKE_SYSTEM_NAME MATCHES "Windows") add_subdirectory(ace) add_subdirectory(zlib) add_subdirectory(bzip2) -- cgit v1.2.3