diff --git a/Modules/Classification/CLVigraRandomForest/test/files.cmake b/Modules/Classification/CLVigraRandomForest/test/files.cmake
index 3f04b16d08..9a4351245d 100644
--- a/Modules/Classification/CLVigraRandomForest/test/files.cmake
+++ b/Modules/Classification/CLVigraRandomForest/test/files.cmake
@@ -1,3 +1,5 @@
-set(MODULE_TESTS
-  mitkVigraRandomForestTest.cpp
-)
+set(MODULE_TESTS "")
+
+if(NOT APPLE)
+  list(APPEND MODULE_TESTS mitkVigraRandomForestTest.cpp)
+endif()