aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/CMakeLists.txt4
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)