|
if("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr" OR "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr/local") |
A prefix can be anything, not necessarily either /usr or /usr/local. For example, it can be a Python virtual environment, with the proper bin, lib, and lib/cmake inside. The installation must proceed with the installation to these directories, not to the prefix root to the utter surprise of the user.
glbinding/CMakeLists.txt
Line 161 in 9d32c2e
A prefix can be anything, not necessarily either
/usror/usr/local. For example, it can be a Python virtual environment, with the properbin,lib, andlib/cmakeinside. The installation must proceed with the installation to these directories, not to the prefix root to the utter surprise of the user.