|
|
@ -477,8 +477,8 @@ if (APPLE)
|
|
|
|
find_library(COCOA_LIBRARY Cocoa)
|
|
|
|
find_library(COCOA_LIBRARY Cocoa)
|
|
|
|
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY})
|
|
|
|
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY})
|
|
|
|
elseif (WIN32)
|
|
|
|
elseif (WIN32)
|
|
|
|
# WSAPoll and SHGetKnownFolderPath (AppData/Roaming) didn't exist before WinNT 6.x (Vista)
|
|
|
|
# Target Windows 10
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x0600 -DWINVER=0x0600)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00)
|
|
|
|
set(PLATFORM_LIBRARIES winmm ws2_32 iphlpapi)
|
|
|
|
set(PLATFORM_LIBRARIES winmm ws2_32 iphlpapi)
|
|
|
|
if (MINGW)
|
|
|
|
if (MINGW)
|
|
|
|
# PSAPI is the Process Status API
|
|
|
|
# PSAPI is the Process Status API
|
|
|
|