File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ function(_php_thread_safety)
6464
6565 target_link_libraries (php_configuration INTERFACE Threads::Threads)
6666
67- set (ZTS 1 PARENT_SCOPE)
67+ set (ZTS TRUE PARENT_SCOPE)
6868
6969 # Add ZTS compile definition. Some PHP headers might not have php_config.h
7070 # directly available. For example, some Zend headers.
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ if(TARGET ODBC::ODBC)
203203 if (EXISTS ${ODBC_INCLUDE_DIR} /${header} )
204204 message (CHECK_PASS "found" )
205205 set (haveSomeHeaders TRUE )
206- set (${const} 1 PARENT_SCOPE)
206+ set (${const} TRUE PARENT_SCOPE)
207207 else ()
208208 message (CHECK_FAIL "not found" )
209209 endif ()
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ if(PHP_DTRACE)
242242 target_link_libraries (php_main PRIVATE DTrace::DTrace)
243243 target_link_libraries (php INTERFACE php_dtrace)
244244
245- set (HAVE_DTRACE 1 PARENT_SCOPE)
245+ set (HAVE_DTRACE TRUE PARENT_SCOPE)
246246
247247 message (CHECK_PASS "yes" )
248248 else ()
@@ -280,7 +280,7 @@ if(PHP_DMALLOC)
280280
281281 if (Dmalloc_FOUND)
282282 message (CHECK_PASS "yes" )
283- set (HAVE_DMALLOC 1 PARENT_SCOPE)
283+ set (HAVE_DMALLOC TRUE PARENT_SCOPE)
284284 else ()
285285 message (CHECK_FAIL "no" )
286286 endif ()
You can’t perform that action at this time.
0 commit comments