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.
1 parent 832821a commit 948a882Copy full SHA for 948a882
cmake/ext/date/CMakeLists.txt
@@ -45,8 +45,7 @@ set_source_files_properties(
45
46
target_compile_options(
47
php_ext_date
48
- PRIVATE
49
- $<$<COMPILE_LANG_AND_ID:C,MSVC>:/wd4244>
+ PRIVATE $<$<AND:$<PLATFORM_ID:Windows>,$<COMPILE_LANGUAGE:C>>:/wd4244>
50
)
51
52
# Configure timelib.
cmake/ext/date/lib/CMakeLists.txt
@@ -100,7 +100,7 @@ target_compile_definitions(
100
PRIVATE
101
HAVE_TIMELIB_CONFIG_H
102
# timelib uses C99 strtoll() function conditionally.
103
- HAVE_STRTOLL
+ $<$<NOT:$<PLATFORM_ID:Windows>>:HAVE_STRTOLL>
104
# timelib includes C99 <stdint.h> header conditionally.
105
HAVE_STDINT_H
106
0 commit comments