Errors when changing cmake build directory
Ao Liu
ao at aoliu.tech
Thu May 2 16:40:13 UTC 2019
Hi all macports fans,
I'm recently learning to do some small modifications and enhancements on an
existing portfile. One way I found that would solve my problem was to
modify the build dir of cmake. (The PortGroup == cmake 1.1).
I tried to set cmake.build_dir to ${prefix}/share/abc/abc${abc.version}/
But it always throws an error and I believe it was because cmake can not
write to the above directory. I tried to chown the directory to macports,
still doesn't work.
Any guidance on how to customize the CMake build directory? Thanks folks!
:info:configure CMake Error at
/opt/local/share/cmake-3.14/Modules/CMakeDetermineSystem.cmake:173 (file):
:info:configure file failed to open for writing (No such file or
directory):
:info:configure
/opt/local/share/abc/abc4.10.5/CMakeFiles/CMakeOutput.log
...
...
...(similar CMake errors)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190502/0961dbf5/attachment.html>
More information about the macports-dev
mailing list