I was trying to use cmake
to install some libraries and executables that are built via cmake
.
I found What is cmake equivalent of 'configure --prefix=DIR && make all install '? which seemed to be easy. It looked like you just need to set the cmake
variable CMAKE_INSTALL_PREFIX
and then make install
should work.
I found that setting the cmake
variable alone did not fix make install
and I kept getting the error message "No rule to make target install".
How do you fix cmake .. && make install
"No rule to make target install"?
p.s. cmake
version is 2.8.x