use find_package defined flag