fixing logic for required version for testing

Change-Id: I8776f095d88926b72cf099f64f95c57c858c6f7c
Merge topic 'FixCMakeRequiredVersionForTesting' into next

7c209c3 fixing logic for required version for testing