Fix-ups for macOS (#291)

* Do not use precomp headers target with GCC on Apple

* CMakeLists: also link to AudioUnit on Apple

* platform.cpp: add missing <unistd.h>

---------

Co-authored-by: ouwou <26526779+ouwou@users.noreply.github.com>
This commit is contained in:
Sergey Fedorovandouwou authored and GitHub committed 2024-05-18 19:07:04 -04:00
1 parent ada3420dce
commit cba2f6c66e
2 files changed
+8 -1

No files matched your search

+4
View File
@@ -4,6 +4,10 @@
#include <fstream>
#include <string>
#ifdef __APPLE__
#include <unistd.h>
#endif
#include <spdlog/spdlog.h>
using namespace std::literals::string_literals;