File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ macro(podspec_version VARIABLE PODSPEC_FILE)
23
23
OUTPUT_VARIABLE ${VARIABLE}
24
24
OUTPUT_STRIP_TRAILING_WHITESPACE
25
25
)
26
+ if (${VARIABLE} STREQUAL "" )
27
+ message (
28
+ FATAL_ERROR
29
+ "Running the sed script ${PROJECT_SOURCE_DIR} /cmake/podspec_version.sed \
30
+ on file ${PODSPEC_FILE} failed; ensure that the `sed` executable is \
31
+ installed and that its directory is present in the PATH environment \
32
+ variable."
33
+ )
34
+ endif ()
26
35
endmacro ()
27
36
28
37
macro (firebase_version VARIABLE PODSPEC_FILE )
@@ -34,6 +43,15 @@ macro(firebase_version VARIABLE PODSPEC_FILE)
34
43
OUTPUT_VARIABLE ${VARIABLE}
35
44
OUTPUT_STRIP_TRAILING_WHITESPACE
36
45
)
46
+ if (${VARIABLE} STREQUAL "" )
47
+ message (
48
+ FATAL_ERROR
49
+ "Running the sed script ${PROJECT_SOURCE_DIR} /cmake/firebase_version.sed \
50
+ on file ${PODSPEC_FILE} failed; ensure that the `sed` executable is \
51
+ installed and that its directory is present in the PATH environment \
52
+ variable."
53
+ )
54
+ endif ()
37
55
endmacro ()
38
56
39
57
function (podspec_prep_headers FRAMEWORK_NAME )
You can’t perform that action at this time.
0 commit comments