I am trying to compile a library with a limitcake. This library uses Seamac with the Pod Build system. While configuring, I get the following error:
Cameet error at cmake / pods.cmake: 257 (string): string sub-command STRIP requires two arguments. The pods.cmake command looks like this:
execute_process (COMMAND $ {PKG_CONFIG_EXECUTABLE} -cflags-only-I $ {ARGN} OUTPUT_VARIABLE _pods_pkg_include_flags) is string (strip $ {_ pods_pkg_include_flags} _pods_pkg_include_flags)
which looks good to me any idea why this error occurs? I do not know why SMC complains that it requires two arguments for the STRIP command when it clearly shows it two.
Note: I use the Semic 2.8.12.2, but according to it it should be valid.
While there are two arguments for syntax in Simcoe file, $ {_ pods_pkg_include_flags} < / Code> may be empty If so, then this argument is not logical and never reaches
string ()
, which then only sees one. If the string is likely to be empty (and if you want to treat, rather than leaving it in such as in the case of an empty string), to quote it:
string (strip " $ {_ Pods_pkg_include_flags} "_pods_pkg_include_flags)
Comments
Post a Comment