Fixed cmake bug in examples also
Fixed cmake bug in examples also

Forgot to fix this in earlier commits

9prady9/arrayfire,shehzan10/arrayfire,bkloppenborg/arrayfire,pombredanne/arrayfire,munnybearz/arrayfire,pombredanne/arrayfire,bkloppenborg/arrayfire,9prady9/arrayfire,mrgloom/arrayfire,mrgloom/arrayfire,arrayfire/arrayfire,umar456/arrayfire,ghisvail/arrayfire,bkloppenborg/arrayfire,pentschev/arrayfire,merlin-ext/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,merlin-ext/arrayfire,mrgloom/arrayfire,marbre/arrayfire,victorv/arrayfire,victorv/arrayfire,pentschev/arrayfire,mrgloom/arrayfire,umar456/arrayfire,ghisvail/arrayfire,9prady9/arrayfire,victorv/arrayfire,munnybearz/arrayfire,arrayfire/arrayfire,shehzan10/arrayfire,bkloppenborg/arrayfire,pentschev/arrayfire,hshindo/arrayfire,ghisvail/arrayfire,pombredanne/arrayfire,pombredanne/arrayfire,umar456/arrayfire,marbre/arrayfire,merlin-ext/arrayfire,munnybearz/arrayfire,shehzan10/arrayfire,hshindo/arrayfire,umar456/arrayfire,marbre/arrayfire,victorv/arrayfire,hshindo/arrayfire,arrayfire/arrayfire,ghisvail/arrayfire,hshindo/arrayfire,pentschev/arrayfire,9prady9/arrayfire,merlin-ext/arrayfire,marbre/arrayfire