We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2de12f5 + 0f12129 commit 57677abCopy full SHA for 57677ab
cmake/ext/date/CMakeLists.txt
@@ -23,18 +23,23 @@ add_feature_info(
23
24
add_library(php_date OBJECT)
25
26
+set(phpDateSources php_date.c)
27
+
28
target_sources(
29
php_date
30
PRIVATE
- php_date.c
31
+ ${phpDateSources}
32
php_date.stub.php
33
PUBLIC
34
FILE_SET HEADERS
35
FILES
36
php_date.h
37
)
38
-target_compile_definitions(php_date PRIVATE ZEND_ENABLE_STATIC_TSRMLS_CACHE)
39
+set_source_files_properties(
40
41
+ PROPERTIES COMPILE_DEFINITIONS ZEND_ENABLE_STATIC_TSRMLS_CACHE
42
+)
43
44
target_compile_options(
45
0 commit comments