Use external custom cmake macros