Updated depend.cmake to follow CMake IF convention. Change-Id: I1e86cf134d3f40852033ae73f36d9143b389a918