Building with the python script into a directory with special characters fails with the following error:
Make Error at cmake/macros/Private.cmake:656 (if):
if given arguments:
";arch;tf;" "MATCHES" ";/home/knud/src/c++/phanes/thirdparty/USD/build/lib/libboost_python.so;"
The Problem:
Cmake interprets the right hand side of MATCHES as a regex. In my case this fails for the ++ in c++.
Replacing MATCHES with STREQUAL in cmake/macros/Private.cmake:656 solved the problem for me.
Steps to Reproduce
On Linux build into a directory that contains a ++
Description of Issue
Building with the python script into a directory with special characters fails with the following error:
The Problem: Cmake interprets the right hand side of MATCHES as a regex. In my case this fails for the ++ in c++. Replacing MATCHES with STREQUAL in cmake/macros/Private.cmake:656 solved the problem for me.
Steps to Reproduce
System Information (OS, Hardware)
Fedora 29
Package Versions
v19.07 master branch
Build Flags
python ../../build_scripts/build_usd.py --materialx --alembic --hdf5 --openimageio --usdview --usd-imaging --ptex /home/knud/src/c++/phanes/thirdparty/USD/build/build_usdimaging