File tree Expand file tree Collapse file tree 8 files changed +64
-0
lines changed Expand file tree Collapse file tree 8 files changed +64
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,14 @@ project(
1515 LANGUAGES C
1616)
1717
18+ if (PROJECT_IS_TOP_LEVEL)
19+ message (
20+ FATAL_ERROR
21+ "The PHP date extension is intended to be built only within the "
22+ "top-level PHP source tree (php-src)."
23+ )
24+ endif ()
25+
1826include (FeatureSummary)
1927
2028add_feature_info(
Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ project(
2323 LANGUAGES C
2424)
2525
26+ if (PROJECT_IS_TOP_LEVEL)
27+ message (
28+ FATAL_ERROR
29+ "The PHP hash extension is intended to be built only within the "
30+ "top-level PHP source tree (php-src)."
31+ )
32+ endif ()
33+
2634include (FeatureSummary)
2735include (PHP/CheckCompilerFlag)
2836
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ project(
1414 LANGUAGES C
1515)
1616
17+ if (PROJECT_IS_TOP_LEVEL)
18+ message (
19+ FATAL_ERROR
20+ "The PHP json extension is intended to be built only within the "
21+ "top-level PHP source tree (php-src)."
22+ )
23+ endif ()
24+
1725include (FeatureSummary)
1826
1927add_feature_info(
Original file line number Diff line number Diff line change @@ -31,6 +31,14 @@ project(
3131 LANGUAGES C
3232)
3333
34+ if (PROJECT_IS_TOP_LEVEL)
35+ message (
36+ FATAL_ERROR
37+ "The PHP pcre extension is intended to be built only within the "
38+ "top-level PHP source tree (php-src)."
39+ )
40+ endif ()
41+
3442include (CheckSourceRuns)
3543include (CheckSymbolExists)
3644include (CMakePushCheckState)
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ project(
1414 LANGUAGES C
1515)
1616
17+ if (PROJECT_IS_TOP_LEVEL)
18+ message (
19+ FATAL_ERROR
20+ "The PHP random extension is intended to be built only inside the PHP top "
21+ "level project (php-src)."
22+ )
23+ endif ()
24+
1725include (CheckIncludeFiles)
1826include (CheckSymbolExists)
1927include (FeatureSummary)
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ project(
1414 LANGUAGES C
1515)
1616
17+ if (PROJECT_IS_TOP_LEVEL)
18+ message (
19+ FATAL_ERROR
20+ "The PHP reflection extension is intended to be built only within the "
21+ "top-level PHP source tree (php-src)."
22+ )
23+ endif ()
24+
1725include (FeatureSummary)
1826
1927add_feature_info(
Original file line number Diff line number Diff line change @@ -13,6 +13,14 @@ project(
1313 LANGUAGES C
1414)
1515
16+ if (PROJECT_IS_TOP_LEVEL)
17+ message (
18+ FATAL_ERROR
19+ "The PHP spl extension is intended to be built only within the "
20+ "top-level PHP source tree (php-src)."
21+ )
22+ endif ()
23+
1624include (FeatureSummary)
1725
1826add_feature_info(
Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ project(
2727 LANGUAGES C
2828)
2929
30+ if (PROJECT_IS_TOP_LEVEL)
31+ message (
32+ FATAL_ERROR
33+ "The PHP standard extension is intended to be built only within the "
34+ "top-level PHP source tree (php-src)."
35+ )
36+ endif ()
37+
3038include (CheckIncludeFiles)
3139include (CheckSymbolExists)
3240include (FeatureSummary)
You can’t perform that action at this time.
0 commit comments