File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ foreach(extension IN LISTS extensions)
81
81
PRIVATE $< $< PLATFORM_ID:Windows> :$< TARGET_NAME_IF_EXISTS:PHP::core> >
82
82
)
83
83
else ()
84
- set_target_properties (php_ext_${extension} PROPERTIES PHP_CORE )
84
+ set_target_properties (php_ext_${extension} PROPERTIES PHP_CORE TRUE )
85
85
86
86
target_compile_definitions (
87
87
php_config
Original file line number Diff line number Diff line change @@ -516,6 +516,7 @@ set_target_properties(
516
516
INCLUDE_DIRECTORIES $< TARGET_PROPERTY:php_ext_standard,INCLUDE_DIRECTORIES>
517
517
COMPILE_DEFINITIONS $< TARGET_PROPERTY:php_ext_standard,COMPILE_DEFINITIONS>
518
518
LINK_LIBRARIES $< TARGET_PROPERTY:php_ext_standard,LINK_LIBRARIES>
519
+ PHP_CORE TRUE
519
520
)
520
521
521
522
target_compile_definitions (
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ target_link_libraries(
77
77
PHP::core::objects
78
78
)
79
79
80
- set_target_properties (php_windows PROPERTIES OUTPUT_NAME php )
80
+ set_target_properties (php_windows PROPERTIES OUTPUT_NAME php PHP_CORE TRUE )
81
81
82
- target_compile_options (
82
+ target_link_options (
83
83
php_windows
84
84
PRIVATE
85
85
/nodefaultlib:libcmt
You can’t perform that action at this time.
0 commit comments