Skip to content

Commit dcfb804

Browse files
committed
Sync CS
1 parent 210fcd4 commit dcfb804

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cmake/cmake/modules/PHP/ThreadSafety.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

cmake/ext/pdo_odbc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ if(TARGET ODBC::ODBC)
209209
if(EXISTS ${ODBC_INCLUDE_DIR}/${header})
210210
message(CHECK_PASS "found")
211211
set(haveSomeHeaders TRUE)
212-
set(${const} 1 PARENT_SCOPE)
212+
set(${const} TRUE PARENT_SCOPE)
213213
else()
214214
message(CHECK_FAIL "not found")
215215
endif()

cmake/main/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ if(PHP_DTRACE)
215215
target_link_libraries(php_main PRIVATE DTrace::DTrace)
216216
target_link_libraries(php INTERFACE php_dtrace)
217217

218-
set(HAVE_DTRACE 1 PARENT_SCOPE)
218+
set(HAVE_DTRACE TRUE PARENT_SCOPE)
219219

220220
message(CHECK_PASS "yes")
221221
else()
@@ -253,7 +253,7 @@ if(PHP_DMALLOC)
253253

254254
if(Dmalloc_FOUND)
255255
message(CHECK_PASS "yes")
256-
set(HAVE_DMALLOC 1 PARENT_SCOPE)
256+
set(HAVE_DMALLOC TRUE PARENT_SCOPE)
257257
else()
258258
message(CHECK_FAIL "no")
259259
endif()

0 commit comments

Comments
 (0)