adapt for older cmake versions
adapt for older cmake versions

jsilhan/libsolv,JacksonIsaac/libsolv,JacksonIsaac/libsolv,jsilhan/libsolv,jsilhan/libsolv,JacksonIsaac/libsolv,JacksonIsaac/libsolv,jsilhan/libsolv,JacksonIsaac/libsolv,jsilhan/libsolv,jsilhan/libsolv