1*da0073e9SAndroid Build Coastguard Workerset(PACKAGE_VERSION "@TORCH_VERSION@") 2*da0073e9SAndroid Build Coastguard Worker 3*da0073e9SAndroid Build Coastguard Worker# Check whether the requested PACKAGE_FIND_VERSION is compatible 4*da0073e9SAndroid Build Coastguard Workerif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5*da0073e9SAndroid Build Coastguard Worker set(PACKAGE_VERSION_COMPATIBLE FALSE) 6*da0073e9SAndroid Build Coastguard Workerelse() 7*da0073e9SAndroid Build Coastguard Worker set(PACKAGE_VERSION_COMPATIBLE TRUE) 8*da0073e9SAndroid Build Coastguard Worker if("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9*da0073e9SAndroid Build Coastguard Worker set(PACKAGE_VERSION_EXACT TRUE) 10*da0073e9SAndroid Build Coastguard Worker endif() 11*da0073e9SAndroid Build Coastguard Workerendif() 12