Currently if find_package(Choreonoid) is called in a CMake project where cmake_minimum_required version is lower than 3.1 the use of IN_LIST operator will create troubles (CMP0057 will be unset and defaulted to OLD)
This PR ensures that IN_LIST exists in the consumer's cmake version and set the policy
Currently if
find_package(Choreonoid)
is called in a CMake project wherecmake_minimum_required
version is lower than 3.1 the use ofIN_LIST
operator will create troubles (CMP0057 will be unset and defaulted to OLD)This PR ensures that
IN_LIST
exists in the consumer's cmake version and set the policy