mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-03 12:35:41 -04:00
CMake: Link to IOKit on Mac
This commit is contained in:
parent
9027864d3d
commit
0f564885dc
@ -61,6 +61,11 @@ if(WIN32)
|
|||||||
target_link_libraries(frontend-common PRIVATE d3d11.lib dxgi.lib)
|
target_link_libraries(frontend-common PRIVATE d3d11.lib dxgi.lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(APPLE)
|
||||||
|
find_library(IOK_LIBRARY IOKit REQUIRED)
|
||||||
|
target_link_libraries(frontend-common PRIVATE "${IOK_LIBRARY}")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(SDL2_FOUND)
|
if(SDL2_FOUND)
|
||||||
target_sources(frontend-common PRIVATE
|
target_sources(frontend-common PRIVATE
|
||||||
sdl_audio_stream.cpp
|
sdl_audio_stream.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user