From e42551bb15e0a5502cb9767e0b42653cd7210b85 Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Tue, 12 Feb 2019 22:05:36 -0500 Subject: [PATCH] only build malloc tests on POSIX platforms --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a88d224..d0d5629 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,6 +74,9 @@ subdirlist(TEST_CATEGORIES ${TESTDIR}) foreach(SUPER_SLAB_SIZE 1;16) foreach(TEST_CATEGORY ${TEST_CATEGORIES}) subdirlist(TESTS ${TESTDIR}/${TEST_CATEGORY}) + if(MSVC) + list(REMOVE_ITEM TESTS "malloc") + endif() foreach(TEST ${TESTS}) unset(SRC) aux_source_directory(${TESTDIR}/${TEST_CATEGORY}/${TEST} SRC)