Skip to content

Commit 5207d1f

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents 9976a65 + 0a58dd0 commit 5207d1f

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

cmake/cmake/CMakeDefaults.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ include_guard(GLOBAL)
1010
# Add paths where include() and find_package() look for modules.
1111
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/modules)
1212

13-
# Automatically include current source or build tree for the current target.
14-
set(CMAKE_INCLUDE_CURRENT_DIR ON)
15-
1613
# Put the source or build tree include directories before other includes.
1714
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
1815

cmake/ext/fileinfo/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ target_compile_definitions(
113113
HAVE_INTTYPES_H=1
114114
)
115115

116+
target_include_directories(php_ext_fileinfo PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
117+
116118
set_property(
117119
SOURCE libmagic/apprentice.c
118120
APPEND

cmake/ext/intl/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ target_sources(
166166
uchar/uchar.stub.php
167167
)
168168

169+
target_include_directories(php_ext_intl PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
170+
169171
php_check_compiler_flag(C -Wno-write-strings PHP_HAS_WNO_WRITE_STRINGS_C)
170172
if(PHP_HAS_WNO_WRITE_STRINGS_C)
171173
target_compile_options(

cmake/ext/opcache/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@ if(PHP_EXT_OPCACHE_JIT)
153153
endif()
154154
endif()
155155

156+
target_include_directories(
157+
php_ext_opcache
158+
PRIVATE
159+
${CMAKE_CURRENT_SOURCE_DIR}
160+
${CMAKE_CURRENT_BINARY_DIR}
161+
)
162+
156163
if(PHP_EXT_OPCACHE_JIT)
157164
# Find out which ABI to use.
158165
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|amd64|AMD64|ARM64)$")

cmake/sapi/fpm/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ target_sources(
225225
target_include_directories(
226226
php_sapi_fpm
227227
PRIVATE
228+
${CMAKE_CURRENT_SOURCE_DIR}
228229
${CMAKE_CURRENT_SOURCE_DIR}/fpm
229230
)
230231

cmake/win32/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ target_sources(
6565
${CMAKE_CURRENT_BINARY_DIR}/wsyslog.h
6666
)
6767

68+
target_include_directories(php_windows PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
6869
target_link_libraries(php_windows PRIVATE PHP::config)
6970

7071
################################################################################

0 commit comments

Comments
 (0)