|
|
@ -130,6 +130,8 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
|
|
|
add_definitions( "-D_GLIBCXX_USE_NANOSLEEP=1" ) |
|
|
|
add_definitions( "-D_GLIBCXX_USE_NANOSLEEP=1" ) |
|
|
|
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin") |
|
|
|
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin") |
|
|
|
list (APPEND DAEMON_SRC "${CMAKE_SOURCE_DIR}/DaemonLinux.cpp") |
|
|
|
list (APPEND DAEMON_SRC "${CMAKE_SOURCE_DIR}/DaemonLinux.cpp") |
|
|
|
|
|
|
|
elseif (CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") |
|
|
|
|
|
|
|
list (APPEND DAEMON_SRC "${CMAKE_SOURCE_DIR}/DaemonLinux.cpp") |
|
|
|
elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows") |
|
|
|
elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows") |
|
|
|
list (APPEND DAEMON_SRC "${CMAKE_SOURCE_DIR}/DaemonWin32.cpp") |
|
|
|
list (APPEND DAEMON_SRC "${CMAKE_SOURCE_DIR}/DaemonWin32.cpp") |
|
|
|
list (APPEND DAEMON_SRC "${CMAKE_SOURCE_DIR}/Win32/Win32Service.cpp") |
|
|
|
list (APPEND DAEMON_SRC "${CMAKE_SOURCE_DIR}/Win32/Win32Service.cpp") |
|
|
|