File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ target_compile_definitions(
318
318
PRIVATE
319
319
ZEND_ENABLE_STATIC_TSRMLS_CACHE
320
320
PUBLIC
321
- $<$<AND :$<PLATFORM_ID:Windows>,$<IN_LIST :$<TARGET_PROPERTY:TYPE >,OBJECT_LIBRARY;STATIC_LIBRARY >>:LIBZEND_EXPORTS>
321
+ $<$<AND :$<PLATFORM_ID:Windows>,$<BOOL :$<TARGET_PROPERTY:PHP_CORE> >>:LIBZEND_EXPORTS>
322
322
)
323
323
324
324
set_target_properties (
@@ -368,7 +368,7 @@ target_include_directories(
368
368
target_compile_definitions (
369
369
zend
370
370
PUBLIC
371
- $<$<AND :$<PLATFORM_ID:Windows>,$<IN_LIST :$<TARGET_PROPERTY:TYPE >,OBJECT_LIBRARY;STATIC_LIBRARY >>:TSRM_EXPORTS>
371
+ $<$<AND :$<PLATFORM_ID:Windows>,$<BOOL :$<TARGET_PROPERTY:PHP_CORE> >>:TSRM_EXPORTS>
372
372
)
373
373
374
374
install (
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ set_target_properties(php_main PROPERTIES PHP_CORE TRUE)
113
113
target_compile_definitions (
114
114
php_config
115
115
INTERFACE
116
- $<$<AND :$<PLATFORM_ID:Windows>,$<IN_LIST :$<TARGET_PROPERTY:TYPE >,OBJECT_LIBRARY;STATIC_LIBRARY >>:SAPI_EXPORTS>
116
+ $<$<AND :$<PLATFORM_ID:Windows>,$<BOOL :$<TARGET_PROPERTY:PHP_CORE> >>:SAPI_EXPORTS>
117
117
)
118
118
119
119
target_include_directories (
You can’t perform that action at this time.
0 commit comments