diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
commit | c568a5905a6779d0f8dbb31c03ca554c0dc3d66a (patch) | |
tree | 5762edc46081989077aac98e06d565696165fe0b /lib/libUPnP/CMakeLists.txt | |
parent | 2ab36f1cce9ad369ff11fa6e64ce4efb79fa7b36 (diff) |
[libUPnP][neptune] update to 1.2.3
Diffstat (limited to 'lib/libUPnP/CMakeLists.txt')
-rw-r--r-- | lib/libUPnP/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libUPnP/CMakeLists.txt b/lib/libUPnP/CMakeLists.txt index 81f526827e..b7ca9b0c3b 100644 --- a/lib/libUPnP/CMakeLists.txt +++ b/lib/libUPnP/CMakeLists.txt @@ -58,6 +58,7 @@ set(SOURCES Platinum/Source/Core/PltAction.cpp Neptune/Source/Core/NptUri.cpp Neptune/Source/Core/NptUtils.cpp Neptune/Source/Core/NptXml.cpp + Neptune/Source/System/Bsd/NptBsdResolver.cpp Neptune/Source/System/Bsd/NptBsdSockets.cpp Neptune/Source/System/StdC/NptStdcDebug.cpp Neptune/Source/System/StdC/NptStdcEnvironment.cpp @@ -77,6 +78,11 @@ if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windo Neptune/Source/System/Posix/NptPosixThreads.cpp Neptune/Source/System/Posix/NptPosixTime.cpp Neptune/Source/System/Bsd/NptBsdNetwork.cpp) + if(APPLE) + list(APPEND SOURCES Neptune/Source/System/Apple/NptAppleAutoreleasePool.mm) + else() + list(APPEND SOURCES Neptune/Source/System/Null/NptNullAutoreleasePool.cpp) + endif() else() list(APPEND SOURCES Neptune/Source/System/Win32/NptWin32Console.cpp Neptune/Source/System/Win32/NptWin32Debug.cpp @@ -90,10 +96,6 @@ else() Neptune/Source/System/Win32/NptWin32Time.cpp) endif() -if(APPLE) - list(APPEND SOURCES Neptune/Source/System/Apple/NptAppleAutoreleasePool.mm - Neptune/Source/System/Apple/NptAppleLogConfig.mm) -endif() add_library(upnp STATIC ${SOURCES} ${HEADERS}) target_compile_definitions(upnp PUBLIC -DNPT_CONFIG_ENABLE_LOGGING) |