wjwwood / serial

Cross-platform, Serial Port library written in C++
http://wjwwood.github.com/serial/
MIT License
2.13k stars 1.04k forks source link

Change Install Directory #251

Open IshaanKarnik opened 3 years ago

IshaanKarnik commented 3 years ago

My Current Installed Directory : /tmp/usr/local and I wish to change to /usr/local

I tried the following but couldn't change the install location

I tried to change CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/tmp/usr/local to CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/usr/local in Makefile present in home directory but still couldn't succeed.

blanaa commented 3 years ago

I think it's because the makefile force the installation in /tmp/usr/local. I change the directory in "makefile" and it works.