Added NOT ANDROID to force use of posix API when building for Android under Windows
This commit is contained in:
@@ -29,17 +29,17 @@ SET(TARGET_H
|
||||
OscSendingDevice.hpp
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
if(WIN32 AND NOT ANDROID)
|
||||
SET(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
ip/win32/NetworkingUtils.cpp
|
||||
ip/win32/NetworkingUtils.cpp
|
||||
ip/win32/UdpSocket.cpp
|
||||
)
|
||||
SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};Ws2_32.lib;winmm")
|
||||
ELSE()
|
||||
SET(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
ip/posix/NetworkingUtils.cpp
|
||||
ip/posix/NetworkingUtils.cpp
|
||||
ip/posix/UdpSocket.cpp
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
Reference in New Issue
Block a user