CMP0059

CMP0059

Do not treat DEFINITIONS as a built-in directory property.

CMake 3.3 and above no longer make a list of definitions available through the DEFINITIONS directory property. The COMPILE_DEFINITIONS directory property may be used instead.

The OLD behavior for this policy is to provide the list of flags given so far to the add_definitions() comman