Let detect macos target.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-10-01 13:29:09 +02:00
parent cec3b4c7f6
commit 84c3efd782

View File

@@ -246,7 +246,6 @@ if(${USB_ITF_HID})
endif()
if(ENABLE_EMULATION)
if(APPLE)
set(CMAKE_OSX_SYSROOT "/Library/Developer/CommandLineTools//SDKs/MacOSX11.3.sdk")
add_definitions("-Wno-deprecated-declarations")
elseif(MSVC)
set(SOURCES ${SOURCES}