Add Darwin case
Summary: Just to add the correct headers when running on MacOS.
@@ -40,6 +40,9 @@ if (NOT ANDROID_ABI)
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
target_include_directories(fbjni PUBLIC ${JAVA_HOME}/include/linux)
endif()
+ if (CMAKE_SYSTEM_NAME STREQUAL Darwin)
+ target_include_directories(fbjni PUBLIC ${JAVA_HOME}/include/darwin)
+ endif()
endif()
if (ANDROID_ABI)
