Closed lijiageng closed 4 years ago
set(CMAKE_INSTALL_PREFIX "/usr") will nullify cmake -DCMAKE_INSTALL_PREFIX=/xxx , the user-specified value should be used first.
set(CMAKE_INSTALL_PREFIX "/usr")
cmake -DCMAKE_INSTALL_PREFIX=/xxx
You are absolutely correct, thanks for the PR.
set(CMAKE_INSTALL_PREFIX "/usr")
will nullifycmake -DCMAKE_INSTALL_PREFIX=/xxx
, the user-specified value should be used first.