Add common cmake module. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0ef4ca6d36)
0ef4ca6d36