Skip to content

Commit 222b447

Browse files
committed
Remove PHP_EXTENSION target property
This seems to be a redundant configuration on the long-run.
1 parent fed24e0 commit 222b447

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cmake/cmake/Extensions.cmake

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ https://bugs.php.net/53141
3131
3232
Custom CMake properties:
3333
34-
* PHP_EXTENSION
3534
* PHP_ZEND_EXTENSION
3635
* PHP_EXTENSION_<extension>_DEPS
3736
#]=============================================================================]
@@ -42,12 +41,6 @@ include_guard(GLOBAL)
4241
# CMake custom properties.
4342
################################################################################
4443

45-
define_property(
46-
TARGET
47-
PROPERTY PHP_EXTENSION
48-
BRIEF_DOCS "Whether the target is a PHP extension"
49-
)
50-
5144
define_property(
5245
TARGET
5346
PROPERTY PHP_ZEND_EXTENSION
@@ -404,9 +397,6 @@ function(php_extensions_postconfigure extension)
404397
add_library(PHP::ext::${extension} ALIAS php_ext_${extension})
405398
endif()
406399

407-
# Mark target as PHP extension.
408-
set_property(TARGET php_ext_${extension} PROPERTY PHP_EXTENSION TRUE)
409-
410400
# Set target output filename to "<extension>".
411401
get_target_property(output php_ext_${extension} OUTPUT_NAME)
412402
if(NOT output)

0 commit comments

Comments
 (0)