mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 13:58:58 -04:00
Link libm on unix platforms.
This commit is contained in:
parent
ce14defeb6
commit
58fcd42880
@ -550,7 +550,11 @@ if(WIN32)
|
||||
set(EVENT__DNS_USE_FTIME_FOR_ID 1)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
set(LIB_PLATFORM ws2_32)
|
||||
include_directories(./WIN32-Code)
|
||||
include_directories(./WIN32-Code)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
list(APPEND LIB_PLATFORM m)
|
||||
endif()
|
||||
|
||||
source_group("Headers Private" FILES ${HDR_PRIVATE})
|
||||
|
Loading…
x
Reference in New Issue
Block a user