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
This commit is contained in:
click
2010-06-21 12:43:39 +02:00
parent f9f72b53af
commit 3b81567acf

View File

@@ -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)