Grab "fileport.h" From SDK Path

This commit is contained in:
Thomas A 2023-05-18 08:40:55 -07:00
parent 69ba07debe
commit 29ec527333

View File

@ -7,7 +7,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-nostdinc -w)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fblocks -include ${CMAKE_SOURCE_DIR}/src/external/lkm/bsd/sys/fileport.h -Wno-error=int-conversion")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fblocks -include ${CMAKE_SOURCE_DIR}/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/fileport.h -Wno-error=int-conversion")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -nostdlib")
mig(notify_ipc.defs)