slackbuilds_ponce/development/hhvm/patches/0003-iquote.patch
Eugen Wissner 8e309c703a
development/hhvm: Updated for version 4.168.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-06-17 17:19:03 +07:00

18 lines
803 B
Diff

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(