Fix Cmake for compilation with CMAKE 2.8
Authored by: brunoherbelin 2015-09-27
Parent: [r1002]
Child: [r1004]