Skip to content

Commit 4189304

Browse files
committed
Sync installed headers for ext/lexbor and ext/uri
1 parent a22f68a commit 4189304

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

cmake/ext/lexbor/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,9 @@ target_sources(
212212
FILE_SET HEADERS
213213
FILES
214214
php_lexbor.h
215+
${lexborHeaders}
215216
)
216217

217-
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
218-
target_sources(php_ext_lexbor PUBLIC FILE_SET HEADERS FILES ${lexborHeaders})
219-
endif()
220-
221218
target_compile_definitions(
222219
php_ext_lexbor
223220
PRIVATE

cmake/ext/uri/CMakeLists.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ target_sources(
4747
FILE_SET HEADERS
4848
FILES
4949
php_uri.h
50-
$<$<PLATFORM_ID:Windows>:uriparser/include/uriparser/Uri.h>
51-
$<$<PLATFORM_ID:Windows>:uriparser/include/uriparser/UriBase.h>
52-
$<$<PLATFORM_ID:Windows>:uriparser/include/uriparser/UriDefsAnsi.h>
53-
$<$<PLATFORM_ID:Windows>:uriparser/include/uriparser/UriDefsConfig.h>
54-
$<$<PLATFORM_ID:Windows>:uriparser/include/uriparser/UriDefsUnicode.h>
55-
$<$<PLATFORM_ID:Windows>:uriparser/include/uriparser/UriIp4.h>
56-
$<$<PLATFORM_ID:Windows>:uriparser/src/UriCommon.h>
57-
$<$<PLATFORM_ID:Windows>:uriparser/src/UriConfig.h>
58-
$<$<PLATFORM_ID:Windows>:uriparser/src/UriIp4Base.h>
59-
$<$<PLATFORM_ID:Windows>:uriparser/src/UriMemory.h>
60-
$<$<PLATFORM_ID:Windows>:uriparser/src/UriNormalizeBase.h>
61-
$<$<PLATFORM_ID:Windows>:uriparser/src/UriParseBase.h>
50+
uriparser/include/uriparser/Uri.h
51+
uriparser/include/uriparser/UriBase.h
52+
uriparser/include/uriparser/UriDefsAnsi.h
53+
uriparser/include/uriparser/UriDefsConfig.h
54+
uriparser/include/uriparser/UriDefsUnicode.h
55+
uriparser/include/uriparser/UriIp4.h
56+
uriparser/src/UriCommon.h
57+
uriparser/src/UriConfig.h
58+
uriparser/src/UriIp4Base.h
59+
uriparser/src/UriMemory.h
60+
uriparser/src/UriNormalizeBase.h
61+
uriparser/src/UriParseBase.h
6262
)
6363

6464
target_compile_definitions(

0 commit comments

Comments
 (0)