-
-
Notifications
You must be signed in to change notification settings - Fork 332
Open
Description
If I have the installation target "include" and other directories already in place, I do not wish to see their permissions altered in any way.
This can be tested for example with the following:
$ sudo bash -c 'rm -rf /tmp/f ; mkdir -p /tmp/f/{bin,include,lib,src} && chmod go-w /tmp/f && chmod go+w /tmp/f/*'
$ tar xf ozz-animation-0.14.1.tar.gz
$ cd ozz-animation-0.14.1
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/tmp/f ..
$ cmake --build ./
$ make install
<snip>
Install the project...
-- Install configuration: ""
-- Up-to-date: /tmp/f/./include
CMake Error at cmake_install.cmake:46 (file):
file INSTALL cannot set permissions on "/tmp/f/./include": Operation not
permitted.
make: *** [Makefile:130: install] Error 1
The above test should finish without errors. The behavior is same with the 0.14.1 release and current master branch.
Metadata
Metadata
Assignees
Labels
No labels