CMake: Link to IOKit on Mac

pull/2287/head
Connor McLaughlin 4 years ago
parent 9027864d3d
commit 0f564885dc

@ -61,6 +61,11 @@ if(WIN32)
target_link_libraries(frontend-common PRIVATE d3d11.lib dxgi.lib)
endif()
if(APPLE)
find_library(IOK_LIBRARY IOKit REQUIRED)
target_link_libraries(frontend-common PRIVATE "${IOK_LIBRARY}")
endif()
if(SDL2_FOUND)
target_sources(frontend-common PRIVATE
sdl_audio_stream.cpp

Loading…
Cancel
Save