mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
* freebsd build fixes
This commit is contained in:
parent
d08a08acb3
commit
90d4d09ca2
@ -75,6 +75,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
list (APPEND SOURCES "../DaemonLinux.cpp")
|
||||
elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||
list (APPEND SOURCES "../DaemonLinux.cpp")
|
||||
# "'sleep_for' is not a member of 'std::this_thread'" in gcc 4.7/4.8
|
||||
add_definitions( "-D_GLIBCXX_USE_NANOSLEEP=1" )
|
||||
elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
list (APPEND SOURCES "../DaemonWin32.cpp")
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user