Skip to content

Commit e8a520c

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Fix headers search paths for nlohmann json in Core ML. (#3607)
Summary: Pull Request resolved: #3607 . Reviewed By: kirklandsign Differential Revision: D57348926 fbshipit-source-id: f867150138f2b8162ea51de245a980606022f018
1 parent b64182d commit e8a520c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backends/apple/coreml/runtime/inmemoryfs/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
cxx_std=cxx_std,
3131
extra_compile_args=["-mmacosx-version-min=10.15", "-g"],
3232
include_dirs=[
33-
"../../third-party/nlohmann_json/single_include/nlohmann",
33+
"../../third-party/nlohmann_json/single_include",
3434
".",
3535
"../util",
3636
],

backends/apple/coreml/runtime/workspace/executorchcoreml.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@
900900
"$(SRCROOT)/../include",
901901
"$(SRCROOT)/../sdk",
902902
"$(SRCROOT)/../util",
903-
"$(SRCROOT)/../../third-party/nlohmann_json/single_include/nlohmann",
903+
"$(SRCROOT)/../../third-party/nlohmann_json/single_include",
904904
"$(SRCROOT)/../../third-party/coremltools/deps/protobuf/src",
905905
);
906906
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
@@ -931,7 +931,7 @@
931931
"$(SRCROOT)/../include",
932932
"$(SRCROOT)/../sdk",
933933
"$(SRCROOT)/../util",
934-
"$(SRCROOT)/../../third-party/nlohmann_json/single_include/nlohmann",
934+
"$(SRCROOT)/../../third-party/nlohmann_json/single_include",
935935
"$(SRCROOT)/../../third-party/coremltools/deps/protobuf/src",
936936
);
937937
IPHONEOS_DEPLOYMENT_TARGET = 16.0;

0 commit comments

Comments
 (0)