From b7c9cf36aecc171a9af907b7f926ad99df41b7af Mon Sep 17 00:00:00 2001 From: Yavor Georgiev Date: Sun, 17 Jun 2018 14:12:06 +0300 Subject: [PATCH] Enable building against realm-sync checkout (#1863) When Sync switched to building with CMake the folder paths changed slightly. Luckily, we already know the structure from Core and can use the same one. --- realm.gypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/realm.gypi b/realm.gypi index bf065941..535379ee 100644 --- a/realm.gypi +++ b/realm.gypi @@ -212,10 +212,10 @@ "conditions": [ ["prefix!=''", { "all_dependent_settings": { - "include_dirs": [ "<(prefix)/src" ], + "include_dirs": [ "<(prefix)/src", "<(prefix)/<(build_directory)/src" ], }, - "direct_dependent_settings": { - "library_dirs": [ "<(prefix)/src/realm" ] + "link_settings": { + "library_dirs": [ "<(prefix)/<(build_directory)/src/realm" ] } }, { "dependencies": [ "vendored-realm" ]