diff options
author | click <none@none> | 2010-06-21 12:43:39 +0200 |
---|---|---|
committer | click <none@none> | 2010-06-21 12:43:39 +0200 |
commit | 3b81567acf4eccb7f466a8268aae8d4585e7f23f (patch) | |
tree | 365ac0aa50263c1eb97c68249517ae8bf94eb2f0 | |
parent | f9f72b53af271873b268d6d977bb3425d2c23970 (diff) |
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
-rw-r--r-- | externals/CMakeLists.txt | 4 |
1 files 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) |