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)
8181 PRIVATE $<$<PLATFORM_ID:Windows>:$<TARGET_NAME_IF_EXISTS:PHP::core>>
8282 )
8383 else ()
84- set_target_properties (php_ext_${extension} PROPERTIES PHP_CORE)
84+ set_target_properties (php_ext_${extension} PROPERTIES PHP_CORE TRUE )
8585
8686 target_compile_definitions (
8787 php_config
Original file line number Diff line number Diff line change @@ -515,6 +515,7 @@ set_target_properties(
515515 INCLUDE_DIRECTORIES $<TARGET_PROPERTY:php_ext_standard,INCLUDE_DIRECTORIES >
516516 COMPILE_DEFINITIONS $<TARGET_PROPERTY:php_ext_standard,COMPILE_DEFINITIONS >
517517 LINK_LIBRARIES $<TARGET_PROPERTY:php_ext_standard,LINK_LIBRARIES >
518+ PHP_CORE TRUE
518519)
519520
520521target_compile_definitions (
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ target_link_libraries(
7777 PHP::core::objects
7878)
7979
80- set_target_properties (php_windows PROPERTIES OUTPUT_NAME php)
80+ set_target_properties (php_windows PROPERTIES OUTPUT_NAME php PHP_CORE TRUE )
8181
82- target_compile_options (
82+ target_link_options (
8383 php_windows
8484 PRIVATE
8585 /nodefaultlib:libcmt
You can’t perform that action at this time.
0 commit comments