summaryrefslogtreecommitdiffstats
path: root/development/hhvm/patches/0003-iquote.patch
blob: e8a42ce09f7aa1189ece47829bc6f354a275a4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/hphp/hack/CMakeLists.txt b/hphp/hack/CMakeLists.txt
index b1aec712dbb..831c46db9e4 100644
--- a/hphp/hack/CMakeLists.txt
+++ b/hphp/hack/CMakeLists.txt
@@ -293,11 +293,8 @@ function(build_cxx_bridge NAME)
       "${NAME}_rust_part"
       ${CXX_BRIDGE_LINK_LIBS}
   )
-  # `-iquote` is like `-I` (or target_include_directories()`), except:
-  # - it takes precedence over `-I`
-  # - it only applies to `#include "foo"`, not `#include <foo>`
-  target_compile_options("${NAME}" INTERFACE "-iquote" "${RUST_FFI_BUILD_ROOT}")
-  target_compile_options("${NAME}" PRIVATE "-iquote" "${GENERATED_CXXBRIDGE}")
+  target_include_directories("${NAME}" INTERFACE "${RUST_FFI_BUILD_ROOT}")
+  target_include_directories("${NAME}" PRIVATE "${GENERATED_CXXBRIDGE}")
 endfunction()
 
 build_cxx_bridge(