Fix removing posix_fork.cpp from Windows build

This commit is contained in:
Zachary Michaels 2014-07-03 10:38:32 -04:00
parent 0855a8173f
commit cd9644c8cb

View File

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