Skip to content

Commit 43f519a

Browse files
committed
Merge branch 'PHP-8.4'
2 parents 8ce9984 + 5207d1f commit 43f519a

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
@@ -168,6 +168,8 @@ target_sources(
168168
uchar/uchar.stub.php
169169
)
170170

171+
target_include_directories(php_ext_intl PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
172+
171173
php_check_compiler_flag(C -Wno-write-strings PHP_HAS_WNO_WRITE_STRINGS_C)
172174
if(PHP_HAS_WNO_WRITE_STRINGS_C)
173175
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
@@ -63,6 +63,7 @@ target_sources(
6363
${CMAKE_CURRENT_BINARY_DIR}/wsyslog.h
6464
)
6565

66+
target_include_directories(php_windows PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
6667
target_link_libraries(php_windows PRIVATE PHP::config)
6768

6869
################################################################################

0 commit comments

Comments
 (0)