Commit 3b831954 authored by deuce's avatar deuce
Browse files

libm for everyone! (Except Win32, they don't deserve it).

parent feb9360d
......@@ -88,19 +88,14 @@ target_compile_definitions(xpdev INTERFACE WRAPPER_IMPORTS)
if(WIN32)
target_link_libraries(xpdev Iphlpapi Ws2_32 Winmm)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Haiku")
target_link_libraries(xpdev m)
target_link_libraries(xpdev network)
target_link_libraries(xpdev network m)
elseif(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
target_link_libraries(xpdev ossaudio m)
elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
target_link_libraries(xpdev ossaudio m)
elseif(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
target_link_libraries(xpdev socket m)
elseif(CMAKE_SYSTEM_NAME STREQUAL "OS X")
target_link_libraries(xpdev m)
elseif(CMAKE_SYSTEM_NAME STREQUAL "QNX")
target_link_libraries(xpdev m)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
else()
target_link_libraries(xpdev m)
endif()
target_link_libraries(xpdev ${CMAKE_THREAD_LIBS_INIT})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment