[cmake,winpr] set policy CMP0177

This commit is contained in:
akallabeth
2025-05-13 09:07:10 +02:00
parent d67ef1fb6f
commit 1ba91069ce

View File

@@ -15,6 +15,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
if(${CMAKE_VERSION} GREATER_EQUAL "3.31.0")
cmake_policy(SET CMP0177 NEW)
endif()
option(WITH_TIMEZONE_COMPILED "Use compiled in timezone definitions" ON)
if(WITH_TIMEZONE_COMPILED)
winpr_definition_add(WITH_TIMEZONE_COMPILED)