From cd9644c8cb3b20c5e7ee21809126183e7df8222e Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Thu, 3 Jul 2014 10:38:32 -0400 Subject: [PATCH] Fix removing posix_fork.cpp from Windows build --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 666105f46..bc1271faf 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,7 +6,8 @@ file(GLOB_RECURSE CRYPTONOTE_CORE cryptonote_core/*) file(GLOB_RECURSE CRYPTONOTE_PROTOCOL cryptonote_protocol/*) file(GLOB_RECURSE DAEMON daemon/*.cpp) if(WIN32) - list(REMOVE_ITEM DAEMON "daemon/posix_fork.cpp") + file(GLOB_RECURSE DAEMON_POSIX daemon/posix_fork.cpp) + list(REMOVE_ITEM DAEMON "${DAEMON_POSIX}") endif() file(GLOB_RECURSE P2P p2p/*) file(GLOB_RECURSE RPC rpc/*)