Closed sjackman closed 9 years ago
It tries to install to /usr/bin even though I've set CMAKE_INSTALL_PREFIX.
/usr/bin
CMAKE_INSTALL_PREFIX
==> cmake .. -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/bam-readcount/0.7.4 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev … ==> make install … /usr/local/Cellar/cmake/3.2.2/bin/cmake -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /usr/bin/bam-readcount CMake Error at build/src/exe/bam-readcount/cmake_install.cmake:31 (file): file INSTALL cannot copy file "/tmp/bam-readcount20150612-7802-1a5e9cy/bam-readcount-0.7.4/build/bin/bam-readcount" to "/usr/bin/bam-readcount".
Last commit should fix this.
Nice. Thanks.
It tries to install to
/usr/bin
even though I've setCMAKE_INSTALL_PREFIX
.