cmake-utils.eclass: Declare CMAKE_GENTOO_BUILD
authorMichał Górny <mgorny@gentoo.org>
Sun, 27 Nov 2016 12:39:08 +0000 (13:39 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 30 Nov 2016 09:42:09 +0000 (10:42 +0100)
commitc9b53dc891212694296acb0a4d131a1d31fa1f21
tree3b9af52e2db2001cea2e5afdc1e66d66dce36130
parentbeaae227169e69fea254a848ce1313f4491f53b1
cmake-utils.eclass: Declare CMAKE_GENTOO_BUILD

Declare the CMAKE_GENTOO_BUILD cache variable to indicate that a Gentoo
package build is being performed. This variable enables Gentoo code
paths in CMake modules without the necessity of setting a custom
CMAKE_BUILD_TYPE.
eclass/cmake-utils.eclass