cmlib/CMLibInstallInOpt.cmake
2019-02-12 19:31:17 +03:00

7 lines
181 B
CMake

option(INSTALL_TO_OPT "Install to proprietary /opt hierarchy" FALSE)
if(INSTALL_TO_OPT)
string(TOLOWER "/opt/${ORGANIZATION_NAME}/${PROJECT_NAME}" CMAKE_INSTALL_PREFIX)
endif()