FindCxxTest module in cmake is broken

52 views
Skip to first unread message

CAI Longqi

unread,
Apr 14, 2016, 10:52:32 PM4/14/16
to CxxTest Forum

  File "/usr/local/bin/cxxtestgen", line 2

    PYTHONPATH="/usr/local/Cellar/cxxtest/4.4/lib/python2.7/site-packages:/usr/local/Cellar/cxxtest/4.4/lib/python2.7/site-packages" exec "/usr/local/Cellar/cxxtest/4.4/libexec/bin/cxxtestgen" "$@"

                                                                                                                                        ^

SyntaxError: invalid syntax


Well, it happens that `/usr/local/bin/cxxtestgen` is a bash script, but the cmake macro would try executing it with python. Anybody can fix it?

Reply all
Reply to author
Forward
0 new messages